Package org.eclipse.wst.server.core

Examples of org.eclipse.wst.server.core.TaskModel


        try {
          license = ir.getLicense(new NullProgressMonitor());
        } catch (CoreException e) {
          PEXServerPlugin.logError("Error getting license", e); //$NON-NLS-1$
        }
        TaskModel taskModel = new TaskModel();
        taskModel.putObject(LicenseWizardFragment.LICENSE, license);
        TaskWizard wizard2 = new TaskWizard(Messages.LHttpdRuntimeComposite_TitleDownloadAndInstall, new WizardFragment() {
          protected void createChildFragments(List<WizardFragment> list) {
            list.add(new LicenseWizardFragment());
          }
        }, taskModel);
View Full Code Here


        try {
          license = ir.getLicense(new NullProgressMonitor());
        } catch (CoreException ex) {
          Activator.getLogger().error(ex);
        }
        TaskModel taskModel = new TaskModel();
        taskModel.putObject(LicenseWizardFragment.LICENSE, license);
        TaskWizard wizard2 = new TaskWizard(
            Messages.AbstractKarafRuntimeComposite_jboss_fuse_rt_label,
            new WizardFragment() {
              protected void createChildFragments(
                  List<WizardFragment> list) {
                list.add(new LicenseWizardFragment());
                list.add(new RTITargetFolderWizardFragment());
              }
            }, taskModel);

        WizardDialog dialog2 = new WizardDialog(getShell(), wizard2);
        if (dialog2.open() == Window.CANCEL)
          return;

        final String selectedDirectory = (String) taskModel
            .getObject(RTITargetFolderWizardFragment.FUSE_RT_LOC);

        if (selectedDirectory != null) {
          // ir.install(new Path(selectedDirectory));
          final IPath installPath = new Path(selectedDirectory);
View Full Code Here

TOP

Related Classes of org.eclipse.wst.server.core.TaskModel

Copyright © 2018 www.massapicom. 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.