Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.WizardDialog.create()


     * Creates a WizardDialog and adds this NewStyleRuleWizard to it to it.
     * The WizardDialog is then opened.
     */
    public void open() {
        WizardDialog dialog = new WizardDialog(shell, this);
        dialog.create();

        // Force the dialog width to the suggested size and then allow it to
        // resize itself - this sets the width of the selector list column to
        // a sensible default.
        Shell dialogShell = dialog.getShell();
View Full Code Here


                MCSProjectAssignmentWizard wizard =
                        new MCSProjectAssignmentWizard(project);
                // Instantiates the wizard container with the wizard and opens it
                Shell shell = iEditorSite.getShell();
                WizardDialog dialog = new WizardDialog(shell, wizard);
                dialog.create();
                int action = dialog.open();
                if (action == WizardDialog.CANCEL) {
                    String errorMessage = EditorMessages.getString(RESOURCE_PREFIX +
                            "projectAssignmentWizardCancelled.reason");
                    throw new PartInitException(errorMessage);
View Full Code Here

                MCSProjectAssignmentWizard wizard =
                        new MCSProjectAssignmentWizard(project);
                // Instantiates the wizard container with the wizard and opens it
                Shell shell = iEditorSite.getShell();
                WizardDialog dialog = new WizardDialog(shell, wizard);
                dialog.create();
                int action = dialog.open();
                if (action == WizardDialog.CANCEL) {
                    String errorMessage = EditorMessages.getString(RESOURCE_PREFIX +
                            "projectAssignmentWizardCancelled.reason");
                    throw new PartInitException(errorMessage);
View Full Code Here

     * Creates a WizardDialog and adds this NewStyleRuleWizard to it to it.
     * The WizardDialog is then opened.
     */
    public void open() {
        WizardDialog dialog = new WizardDialog(shell, this);
        dialog.create();

        // Force the dialog width to the suggested size and then allow it to
        // resize itself - this sets the width of the selector list column to
        // a sensible default.
        Shell dialogShell = dialog.getShell();
View Full Code Here

     * Creates a WizardDialog and adds this NewDeviceWizard to it.
     * The WizardDialog is then opened.
     */
    public int open() {
        WizardDialog dialog = new WizardDialog(shell, this);
        dialog.create();
        return dialog.open();
    }

    /**
     * Get the device name.
View Full Code Here

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    final GSSQueryContainment gssQueryContainment = (GSSQueryContainment) UiUtil.getSelectedEObject()
    NewGSSQueryWizard wizard = new NewGSSQueryWizard(gssQueryContainment);
    WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard);
    dialog.create();
    dialog.open();   
    return null;
  }
}
View Full Code Here

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    final GSSQuery query = (GSSQuery) UiUtil.getSelectedEObject()
    LoadConstraintsWizard wizard = new LoadConstraintsWizard(query);
    WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard);
    dialog.create();
    dialog.open();
    return null;
  }
}
View Full Code Here

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    final GSSQuery query = (GSSQuery) UiUtil.getSelectedEObject()
    SaveConstraintsWizard wizard = new SaveConstraintsWizard(query);
    WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard);
    dialog.create();
    dialog.open();
    return null;
  }
}
View Full Code Here

                    .eContainer().eContainer())
                    .getPropertiesCatalogue());

            WizardDialog dialog = new WizardDialog(parentComposite
                .getShell(), wizard);
            dialog.create();
            dialog.open();
          }

          @Override
          public void widgetDefaultSelected(SelectionEvent e) {
View Full Code Here

        LinkEditorWizard wizard = new LinkEditorWizard(cplist,
            linkedText, findLinkOffset(embeddedLink), embeddedLink
                .getText(), embeddedLink.getText(),
            embeddedLink.getTarget());
        WizardDialog dialog = new WizardDialog(getShell(), wizard);
        dialog.create();
        dialog.open();

      }

    };
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.