Examples of IRooInstall


Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

  public boolean performOk() {
    final boolean[] canceled = new boolean[] { false };
    BusyIndicator.showWhile(null, new Runnable() {
      public void run() {
        Set<IRooInstall> newInstalls = new LinkedHashSet<IRooInstall>();
        IRooInstall defaultVM = getCurrentDefaultVM();
        IRooInstall[] vms = fJREBlock.getJREs();
        for (IRooInstall vm : vms) {
          newInstalls.add(new DefaultRooInstall(vm.getHome(), vm.getName(), vm.equals(defaultVM)));
        }
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

         * roo-1.0.2.BUILD-201005061233 -> Roo 1.0.2.BUILD-201005061233
         */
        String name = getName(location.getName());

        // Create a new install and make it default
        IRooInstall newInstall = new DefaultRooInstall(path, name, true);

        // Set installs
        Set<IRooInstall> installs = new HashSet<IRooInstall>();
        installs.add(newInstall);
        for (IRooInstall install : installManager.getAllInstalls()) {
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

      rooHomeGroup.setText("Roo Installation");
      rooHomeGroup.setLayout(initGridLayout(new GridLayout(1, false), true));

      useDefault = new Button(rooHomeGroup, SWT.RADIO);

      IRooInstall defaultInstall = RooCoreActivator.getDefault().getInstallManager().getDefaultRooInstall();
      if (defaultInstall != null) {
        useDefault.setText(NewRooWizardMessages.bind(
            NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallation,
            defaultInstall.getName()));
      }
      else {
        setErrorMessage(NewRooWizardMessages.NewRooProjectWizardPageOne_noRooInstallationConfigured);
        setPageComplete(false);
        useDefault.setText(NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallationNoCurrent);
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

      return rooHomeGroup;
    }

    public void refresh() {
      IRooInstall defaultInstall = RooCoreActivator.getDefault().getInstallManager().getDefaultRooInstall();
      if (defaultInstall != null) {
        useDefault.setText(NewRooWizardMessages.bind(
            NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallation,
            defaultInstall.getName()));
      }
      else {
        setErrorMessage(NewRooWizardMessages.NewRooProjectWizardPageOne_noRooInstallationConfigured);
        setPageComplete(false);
        useDefault.setText(NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallationNoCurrent);
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

        packagingGroup.setEnabled(false);
        for (Control c : packagingGroup.getChildren()) {
          c.setEnabled(false);
        }
      } else {
        IRooInstall install = null;
        if (useDefaultRooInstall()) {
          install = RooCoreActivator.getDefault().getInstallManager().getDefaultRooInstall();
        }
        else {
          String installName = getRooInstallName();
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.core.model.IRooInstall

          setPageComplete(false);
          return;
        }
      }
      else {
        IRooInstall install = null;
        if (useDefaultRooInstall()) {
          install = RooCoreActivator.getDefault().getInstallManager().getDefaultRooInstall();
        }
        else {
          String installName = getRooInstallName();
          if (installName != null) {
            install = RooCoreActivator.getDefault().getInstallManager().getRooInstall(installName);
          }
        }
        if (install == null) {
          setErrorMessage("No Roo installation configured in workspace preferences.");
          setPageComplete(false);
          return;
        }
        else {
          installError = install.validate();
          if (installError != null && !installError.isOK()) {
            setErrorMessage(installError.getMessage());
            setPageComplete(false);
            return;
          }
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.