Examples of DocumentAdapter


Examples of de.pdf_scrutinizer.document.DocumentAdapter

            log.error("no document loaded");
            return;
        }

        // load the pdf document using the DocumentAdapter.
        documentAdapter = new DocumentAdapter(this, this.rootPDF);

        if (documentAdapter == null || !documentAdapter.IsDocLoaded()) {
            log.error("no document loaded");
            return;
        }
View Full Code Here

Examples of de.pdf_scrutinizer.document.DocumentAdapter

    public Console console = new Console();
    public double zoom = 100;

    protected Doc(Scrutinizer scrutinizer) {
        this.scrutinizer = scrutinizer;
        DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
        if (documentAdapter != null && documentAdapter.IsDocLoaded()) {
            numPages = documentAdapter.getDocument().getNumberOfPages();
        }

        info = new Info(scrutinizer);
    }
View Full Code Here

Examples of org.apache.cocoon.components.jxdom.DocumentAdapter

        map.put("context", context);
        Object session = request.getSession(false);
        if (session != null) {
            map.put("session", session);
        }
        doc = new DocumentAdapter(map, "document");
    }
View Full Code Here

Examples of org.apache.cocoon.components.jxdom.DocumentAdapter

        map.put("context", context);
        Object session = request.getSession(false);
        if (session != null) {
            map.put("session", session);
        }
        doc = new DocumentAdapter(map, "document");
    }
View Full Code Here

Examples of org.apache.cocoon.components.jxdom.DocumentAdapter

        map.put("context", context);
        Object session = request.getSession(false);
        if (session != null) {
            map.put("session", session);
        }
        doc = new DocumentAdapter(map, "document");
    }
View Full Code Here

Examples of org.eclipse.dltk.internal.ui.editor.DocumentAdapter

    Enumeration openBuffers = BufferManager.getDefaultBufferManager()
        .getOpenBuffers();
    while (openBuffers.hasMoreElements()) {
      Object nextElement = openBuffers.nextElement();
      if (nextElement instanceof DocumentAdapter) {
        DocumentAdapter adapt = (DocumentAdapter) nextElement;
        if (adapt.getDocument().equals(region.getParentDocument())
            && adapt.getOwner() instanceof ISourceModule) {
          sourceModule = (ISourceModule) adapt.getOwner();
          break;
        }
      }
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.core.DocumentAdapter

  {
    IBuffer buffer = src.getBuffer();
    if(buffer instanceof IDocument){
      return (IDocument)buffer;
    }
    return new DocumentAdapter(buffer);
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.reconcile.DocumentAdapter

          else {
            // if doesn't exist, create one
            IValidator validator = vmd.createValidator();

            validatorStep = new ReconcileStepForValidator(validator, validatorScope);
            validatorStep.setInputModel(new DocumentAdapter(doc));

            fVidToVStepMap.put(vmd.getValidatorId(), validatorStep);
          }

          if (!fTotalScopeValidatorsAlreadyRun.contains(vmd) && !fIsCancelled) {
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.reconcile.DocumentAdapter

    // next step etc...)
    Iterator it = fVidToVStepMap.values().iterator();
    IReconcileStep step = null;
    while (it.hasNext()) {
      step = (IReconcileStep) it.next();
      step.setInputModel(new DocumentAdapter(document));
    }
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.reconcile.DocumentAdapter

          else {
            // if doesn't exist, create one
            IValidator validator = vmd.createValidator();

            validatorStep = new ReconcileStepForValidator(validator, validatorScope);
            validatorStep.setInputModel(new DocumentAdapter(doc));

            fVidToVStepMap.put(vmd.getValidatorId(), validatorStep);
          }

          if (!fTotalScopeValidatorsAlreadyRun.contains(vmd)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.