Examples of install()


Examples of org.pushingpixels.flamingo.api.ribbon.resize.RibbonBandResizePolicy.install()

        if (currentResizePolicy instanceof IconRibbonBandResizePolicy) {
          return;
        }

        // Installs the resize policy
        currentResizePolicy.install(availableHeight, gap);
      }

      // compute the max preferred height of the components and the
      // number of rows
      int maxHeight = 0;
View Full Code Here

Examples of org.python.pydev.core.tooltips.presenter.ToolTipPresenterHandler.install()

        layoutData.horizontalAlignment = GridData.FILL;
        layoutData.verticalAlignment = GridData.FILL;
        sash.setLayoutData(layoutData);

        tree = new Tree(sash, SWT.FULL_SELECTION | SWT.MULTI);
        tooltip.install(tree);
        tree.setHeaderVisible(true);

        Listener sortListener = new PyUnitSortListener(this);
        colIndex = createColumn(" ", 50, sortListener);
        colResult = createColumn("Result", 70, sortListener);
View Full Code Here

Examples of org.raptorjs.rhino.commonjs.module.Require.install()

        injectDefineScript = new InjectDefineScript(this);
       
        ScriptableObject globalScope = this.getJavaScriptEngine().getGlobalScope();
        globalScope.put("global", globalScope, globalScope);
        Require require = this.createRequire(cx, globalScope);
        require.install(globalScope);
       
        this.raptor = (ScriptableObject) this.getJavaScriptEngine().invokeMethod(globalScope, "require", "raptor");
        injectDefineScript.setRaptor(raptor);
        this.resourceManager.addSearchPathEntry(new ClasspathSearchPathEntry(RaptorJSEnv.class, "/META-INF/resources"));
       
View Full Code Here

Examples of org.rhq.bundle.ant.type.DeploymentUnitType.install()

            + clean + "]...");
        deploymentUnit.init();
        switch (deploymentPhase) {
        case INSTALL:
            // TODO: Revert doesn't really make sense for an initial install.
            deploymentUnit.install(revert, clean);
            break;
        case START:
            deploymentUnit.start();
            break;
        case STOP:
View Full Code Here

Examples of org.rhq.cassandra.schema.SchemaManager.install()

        getLog().info("Installing RHQ schema");
        SchemaManager schemaManager = new SchemaManager(deploymentOptions.getUsername(),
            deploymentOptions.getPassword(), ccm.getNodes(), ccm.getCqlPort());

        try {
            schemaManager.install();
            schemaManager.updateTopology();
        } catch (Exception e) {
            throw new MojoExecutionException("Schema installation failed.", e);
        }
View Full Code Here

Examples of org.rzo.yajsw.wrapper.WrappedService.install()

  {
      WrappedService w = new WrappedService();
      Configuration c = w.getLocalConfiguration();
      c.setProperty("wrapper.config", configuration);
      w.init();
      return w.install();
  }

  public boolean yajswUninstall(String name)
  {
    if (_services.get(name) != null && "Service".equals(_services.get(name).getWrapped()))
View Full Code Here

Examples of org.servicemix.jbi.framework.FrameworkInstallationService.install()

            throw new BuildException("null archivePath - archivePath should be an archive");
        }
        if (archivePath.endsWith(".zip") || archivePath.endsWith(".jar")){
            try {
                FrameworkInstallationService is = getInstallationService();
                is.install(archivePath);
            }
            catch (IOException e) {
                log.error("Caught an exception getting the installation service",e);
                throw new BuildException(e);
            }
View Full Code Here

Examples of org.sonar.batch.bootstrap.ExtensionInstaller.install()

      ScanPerspectives.class);
  }

  private void addExtensions() {
    ExtensionInstaller installer = getComponentByType(ExtensionInstaller.class);
    installer.install(this, new ExtensionMatcher() {
      @Override
      public boolean accept(Object extension) {
        if (ExtensionUtils.isType(extension, BatchComponent.class) && ExtensionUtils.isInstantiationStrategy(extension, InstantiationStrategy.PER_PROJECT)) {
          // Special use-case: the extension point ProjectBuilder is used in a Maven environment to define some
          // new sub-projects without pom.
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService.install()

    ServiceReference addOnServiceReference = null;
    try {
      addOnServiceReference = getAddOnService(addOnServiceReference);
      if (addOnServiceReference != null) {
        PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
        InstallOrUpgradeStatus result = service.install(version);
        return handleResult(result);
      }
    }
    catch (Throwable e) {
      RooCoreActivator.log(e);
View Full Code Here

Examples of org.xhtmlrenderer.swing.SelectionHighlighter.install()

            throw new RuntimeException(e);
        }

        // install a selection highlighter no the panel
        final SelectionHighlighter caret = new SelectionHighlighter();
        caret.install(xhtmlPanel);
        caret.selectAll();

        FSScrollPane fs = new FSScrollPane(xhtmlPanel);

        mainPanel.add(fs,BorderLayout.CENTER);
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.