Examples of install()


Examples of org.crosswire.jsword.book.install.Installer.install()

                pd.setLocationRelativeTo(this);

                WindowPropConfig.getInstance().setSelectedBible(book.getName());

                Installer installer = imanager.getInstaller(cbSource.getSelectedItem().toString());
                installer.install(book);

                pd.setVisible(true);

                updateInstalled();
View Full Code Here

Examples of org.crsh.util.InterruptHandler.install()

        @Override
        public void run() {
          processor.interrupt();
        }
      });
      interruptHandler.install();

      //
      Thread thread = new Thread(processor);
      thread.setDaemon(true);
      thread.start();
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.install()

  public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
    ContentAssistant assistant = new ContentAssistant();
    assistant.enableAutoInsert(true);
    CSSAssistProcessor processor = new CSSAssistProcessor();
    assistant.setContentAssistProcessor(processor,IDocument.DEFAULT_CONTENT_TYPE);
    assistant.install(sourceViewer);
   
//    IPreferenceStore store = HTMLPlugin.getDefault().getPreferenceStore();
//    assistant.enableAutoActivation(store.getBoolean(HTMLPlugin.PREF_ASSIST_AUTO));
//    assistant.setAutoActivationDelay(store.getInt(HTMLPlugin.PREF_ASSIST_TIMES));
   
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.IContextInformationValidator.install()

      if (fValidator != null)
        fValidator.install(realInfo, viewer, documentPosition);
      else {
        for (Iterator it = fValidators.iterator(); it.hasNext();) {
          IContextInformationValidator v = (IContextInformationValidator) it.next();
          v.install(realInfo, viewer, documentPosition);
        }
      }
    }

    IContextInformationValidator getValidator(IContextInformation info) {
View Full Code Here

Examples of org.eclipse.jface.text.information.IInformationPresenter.install()

    getSite().getWorkbenchWindow().getPartService().addPartListener(fPartListener);
    installSemanticHighlighting();
    if (fOutlineHandler != null) {
      IInformationPresenter presenter = configureOutlinePresenter(getSourceViewer(), getSourceViewerConfiguration());
      if (presenter != null) {
        presenter.install(getSourceViewer());
        fOutlineHandler.configure(presenter);
      }
    }
    installCharacterPairing();
    ISourceViewer viewer = getSourceViewer();
View Full Code Here

Examples of org.eclipse.jface.text.information.InformationPresenter.install()

     
      String[] contentTypes = editor.getViewerConfiguration().getConfiguredContentTypes(editor.getViewer());
      for (int i= 0; i < contentTypes.length; i++) {
        presenter.setInformationProvider(provider, contentTypes[i]);
      }
      presenter.install(editor.getViewer());
      presenter.showInformation();
    }
    return null;
 
View Full Code Here

Examples of org.eclipse.jface.text.presentation.PresentationReconciler.install()

    styleText.setEditable(true);
    styleText.setEnabled(true);
    styleText.setTabs(4);
   
    PresentationReconciler presentationReconciler = new PresentationReconciler();
    presentationReconciler.install(textViewer);
   
    // Enable the TextViewerUndoManager.
    textViewer.activatePlugins();
   
    makeActions();
View Full Code Here

Examples of org.eclipse.jface.text.quickassist.IQuickAssistAssistant.install()

      public String getErrorMessage() {
        return null;
      }
     
    });
    assistant.install(sourceViewer);   
    return assistant;
  }
 

View Full Code Here

Examples of org.eclipse.jface.text.quickassist.QuickAssistAssistant.install()

      public String getErrorMessage() {
        return null;
      }
     
    });
    assistant.install(sourceViewer);   
    return assistant;
  }
 

View Full Code Here

Examples of org.eclipse.jface.text.reconciler.MonoReconciler.install()

 
  @Override
  public IReconciler getReconciler(ISourceViewer sourceViewer)
  {
    MonoReconciler reconciler = new MonoReconciler(getReconcilingStrategy(), false);
    reconciler.install(sourceViewer);

    return reconciler;
  }
 
  protected abstract IReconcilingStrategy getReconcilingStrategy();
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.