Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.Wizard


            editingDomain);
    if (resource == null || resource.getContents().isEmpty()) {
      return;
    }
    EObject diagramRoot = (EObject) resource.getContents().get(0);
    Wizard wizard = new OntoUML.diagram.part.OntoUMLNewDiagramFileWizard(
        resource.getURI(), diagramRoot, editingDomain);
    wizard
        .setWindowTitle(NLS
            .bind(
                OntoUML.diagram.part.Messages.OntoUMLInitDiagramFileAction_InitDiagramFileWizardTitle,
                OntoUML.diagram.edit.parts.ContainerEditPart.MODEL_ID));
    OntoUML.diagram.part.OntoUMLDiagramEditorUtil.runWizard(getShell(),
View Full Code Here


    }
  }

  @Override
  public void run() {
    WizardDialog dialog = new WizardDialog(null, new Wizard() {
      private DefineHadoopServerLocWizardPage page = new DefineHadoopServerLocWizardPage();

      @Override
      public void addPages() {
        super.addPages();
View Full Code Here

    final HadoopServer server = serverView.getSelectedServer();
    if (server == null)
      return;

    WizardDialog dialog = new WizardDialog(null, new Wizard() {
      private DefineHadoopServerLocWizardPage page =
          new DefineHadoopServerLocWizardPage(server);

      @Override
      public void addPages() {
View Full Code Here

        page.setResources(unChosenServices, null);
        final List<IGeoResource> chosenResources = new ArrayList<IGeoResource>();

        PlatformGIS.syncInDisplayThread(new Runnable(){
            public void run() {
                Wizard wizard = new Wizard(){
                    public void addPages() {
                        addPage(page);
                    }

                    @Override
View Full Code Here

    final AbstractHadoopCluster server = serverView.getSelectedServer();
    if (server == null)
      return;

    WizardDialog dialog = new WizardDialog(null, new Wizard() {
      private HadoopLocationWizard page = new HadoopLocationWizard(server);

      @Override
      public void addPages() {
        super.addPages();
View Full Code Here

    setImageDescriptor(ImageLibrary.get("server.view.action.location.new"));
  }

  @Override
  public void run() {
    WizardDialog dialog = new WizardDialog(null, new Wizard() {
      private HadoopLocationWizard page = new HadoopLocationWizard();

      @Override
      public void addPages() {
        super.addPages();
View Full Code Here

    page
        .setDescription(AttributeGroupMessages
            .getString(
                "DialogUtil.createDescription", group.getTagName(), parent.getTagName())); //$NON-NLS-1$

    Wizard wizard = new Wizard() {
      public void addPages() {
        super.addPage(page);
      }

      public boolean performFinish() {
        DialogField[] fields = group.getDialogFields();
        Map map = new HashMap();
        for (int i = 0; i < fields.length; i++) {
          IPropertyPageDescriptor desc = group
              .getPropertyDescriptor(fields[i]);
          if (desc != null && fields[i] instanceof ISupportTextValue) {
            String value = ((ISupportTextValue) fields[i])
                .getText();
            if (value != null && value.length() > 0) {
              map.put(desc.getAttributeName(), value);
            }
          }
        }
        createSubNode(group, parent, map);
        return true;
      }
    };
    wizard.setWindowTitle(AttributeGroupMessages.getString(
        "DialogUtil.createTitle", group.getTagName())); //$NON-NLS-1$
    wizard.setDefaultPageImageDescriptor(PDPlugin.getDefault()
        .getImageDescriptor("newsuade_wiz.gif")); //$NON-NLS-1$
    CommonWizardDialog dialog = new CommonWizardDialog(shell, wizard);

    return dialog.open() == Window.OK;
  }
View Full Code Here

  public Object execute(ExecutionEvent event) throws ExecutionException
    {
    String configName = event.getParameter(COMMAND_PARAM_CONFIG_NAME);
    if(configName==null)
      {
      Wizard wizard = new LaunchTraceWizard();
      WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), wizard);
      dialog.open();
      }
    else
      {
View Full Code Here

      MessageDialog.openError(getShell(),
          Messages.InitDiagramFile_ResourceErrorDialogTitle,
          Messages.InitDiagramFile_ResourceErrorDialogMessage);
      return;
    }
    Wizard wizard = new DispelNewDiagramFileWizard(domainModelURI,
        diagramRoot, editingDomain);
    wizard.setWindowTitle(NLS.bind(Messages.InitDiagramFile_WizardTitle,
        DispelFunctionEditPart.MODEL_ID));
    DispelDiagramEditorUtil
        .runWizard(getShell(), wizard, "InitDiagramFile"); //$NON-NLS-1$
  }
View Full Code Here

              getShell(),
              eu.admire.visual.pmml.neuralnetwork._40.diagram.part.Messages.InitDiagramFile_ResourceErrorDialogTitle,
              eu.admire.visual.pmml.neuralnetwork._40.diagram.part.Messages.InitDiagramFile_ResourceErrorDialogMessage);
      return;
    }
    Wizard wizard = new eu.admire.visual.pmml.neuralnetwork._40.diagram.part.PMMLNewDiagramFileWizard(
        domainModelURI, diagramRoot, editingDomain);
    wizard
        .setWindowTitle(NLS
            .bind(
                eu.admire.visual.pmml.neuralnetwork._40.diagram.part.Messages.InitDiagramFile_WizardTitle,
                eu.admire.visual.pmml.neuralnetwork._40.diagram.edit.parts.NeuralNetworkTypeEditPart.MODEL_ID));
    eu.admire.visual.pmml.neuralnetwork._40.diagram.part.PMMLDiagramEditorUtil
View Full Code Here

TOP

Related Classes of org.eclipse.jface.wizard.Wizard

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.