Examples of install()


Examples of org.eclipse.jface.text.source.projection.ProjectionSupport.install()

    public void createPartControl(Composite parent) {
        super.createPartControl(parent);
        ProjectionViewer viewer = (ProjectionViewer) getSourceViewer();
        ProjectionSupport projectionSupport = new ProjectionSupport(viewer,
            getAnnotationAccess(), getSharedColors());
        projectionSupport.install();
        // turn projection mode on
        viewer.doOperation(ProjectionViewer.TOGGLE);
        annotationModel = viewer.getProjectionAnnotationModel();
    }
View Full Code Here

Examples of org.eclipse.jgit.storage.file.WindowCacheConfig.install()

    final WindowCacheConfig c = new WindowCacheConfig();
    c.setPackedGitLimit(128 * WindowCacheConfig.KB);
    c.setPackedGitWindowSize(8 * WindowCacheConfig.KB);
    c.setPackedGitMMAP(useMMAP);
    c.setDeltaBaseCacheLimit(8 * WindowCacheConfig.KB);
    c.install();
  }

  protected File getTemporaryDirectory() {
    return tmp.getAbsoluteFile();
  }
View Full Code Here

Examples of org.eclipse.ui.texteditor.SourceViewerDecorationSupport.install()

    viewer.doOperation(ProjectionViewer.TOGGLE);
   
    annotationModel = viewer.getProjectionAnnotationModel();
   
    SourceViewerDecorationSupport support = getSourceViewerDecorationSupport(viewer);
    support.install(JsonEditorPlugin.getJsonPreferenceStore());
  }

  @Override
  protected ISourceViewer createSourceViewer(Composite parent,
      IVerticalRuler ruler, int styles) {
View Full Code Here

Examples of org.eclipse.wb.tests.designer.core.TestBundle.install()

          "  </device>",
          "  <device id='devB' name='Device B' image='icons/devB.png'>",
          "    <display x='10' y='20' width='100' height='200'/>",
          "  </device>",
          "</category>"});
      testBundle.install();
      // work with Bundle
      {
        List<CategoryInfo> categories = DeviceManager.getCategories();
        assertThat(categories.size()).isGreaterThan(1);
        {
View Full Code Here

Examples of org.erlide.backend.debug.ErlangLineBreakpoint.install()

            if (breakpoint instanceof ErlangLineBreakpoint) {
                final ErlangLineBreakpoint erlangLineBreakpoint = (ErlangLineBreakpoint) breakpoint;
                final ErlangDebugTarget target = erlangLineBreakpoint.getTarget();
                erlangLineBreakpoint.remove(target);
                MarkerUtilities.setLineNumber(marker, newLine);
                erlangLineBreakpoint.install(target);
                return true;
            }
            // if there exists a breakpoint on the line remove this one
            if (isLineBreakpointMarker(marker)) {
                ensureRanges(document, marker, line);
View Full Code Here

Examples of org.fcrepo.utilities.install.container.Container.install()

        new FedoraHome(_dist, _opts).install();

        if (!_opts.getValue(InstallOptions.INSTALL_TYPE)
                .equals(InstallOptions.INSTALL_CLIENT)) {
            Container container = ContainerFactory.getContainer(_dist, _opts);
            container.install();
            container.deploy(buildWAR());
            if (_opts.getBooleanValue(InstallOptions.DEPLOY_LOCAL_SERVICES,
                                      true)) {
                deployLocalService(container, Distribution.FOP_WAR);
                deployLocalService(container, Distribution.IMAGEMANIP_WAR);
View Full Code Here

Examples of org.fife.ui.autocomplete.AutoCompletion.install()

    public void changeSyntaxStyle(String s) {
      // textArea.setSyntaxEditingStyle(determineScriptType(s));
      CompletionProvider provider = createCompletionProvider();

      AutoCompletion ac = new AutoCompletion(provider);
      ac.install(textArea);

    }

    /**
     * Creates the completion provider.
View Full Code Here

Examples of org.freeplane.plugin.script.addons.ManageAddOnsDialog.install()

        modeController.addAction(manageAddOnsAction);
        modeController.addExtension(AddOnInstaller.class, new AddOnInstaller() {
          @Override
            public void install(final URL url) {
            final ManageAddOnsDialog dialog = manageAddOnsAction.getDialog();
            dialog.install(url);
          }
        });
        updateMenus(modeController, new ScriptingConfiguration());
    }
View Full Code Here

Examples of org.graylog2.plugins.PluginInstaller.install()

                    commandLineArguments.getPluginShortname(),
                    commandLineArguments.getPluginVersion(),
                    commandLineArguments.isForcePlugin()
            );
           
            installer.install();
            System.exit(0);
        }

        // Are we in debug mode?
        Level logLevel = Level.INFO;
View Full Code Here

Examples of org.gudy.azureus2.plugins.installer.PluginInstaller.install()

                      properties.put( UpdateCheckInstance.PT_UI_STYLE, UpdateCheckInstance.PT_UI_STYLE_NONE );
                       
                      properties.put(UpdateCheckInstance.PT_UI_DISABLE_ON_SUCCESS_SLIDEY, true);
 
                      try{
                        installer.install(
                          sps.toArray( new InstallablePlugin[ sps.size()]),
                          false,
                          properties,
                          new PluginInstallationListener() {
   
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.