Package org.eclipse.jface.wizard

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


                    .getString( "EditLdifAttributeAction.EditAttributeDescription" ), true, false, //$NON-NLS-1$
                    attributeDescription, dummyEntry );
                WizardDialog dialog = new WizardDialog( Display.getDefault().getActiveShell(), wizard );
                dialog.setBlockOnOpen( true );
                dialog.create();
                if ( dialog.open() == Dialog.OK )
                {
                    String newAttributeDescription = wizard.getAttributeDescription();

                    if ( newAttributeDescription != null )
                    {
View Full Code Here


                              INewWizard wizard) {
        wizard.init( workbench,
                     new DummySelection() );
        WizardDialog dialog = new WizardDialog( shell,
                                                wizard );
        dialog.open();
    }

    public void dispose() {
    }
View Full Code Here

                NewRepLocationWizard wiz = new NewRepLocationWizard();
                wiz.init(Activator.getDefault().getWorkbench(), null);
                WizardDialog dialog =
                    new WizardDialog(RepositoryView.this.getSite().getShell(), wiz);
                dialog.create();
                dialog.open();
            }
        };
        addRepositoryLocAction.setText(Messages.getString("action.add.rep")); //$NON-NLS-1$
        addRepositoryLocAction.setToolTipText(Messages.getString("action.add.rep.desc")); //$NON-NLS-1$
        addRepositoryLocAction.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().
View Full Code Here

        dialog.getShell().setSize(
                Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x),
                SIZING_WIZARD_HEIGHT);
        PlatformUI.getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
        IWorkbenchHelpContextIds.NEW_WIZARD);
        dialog.open();
    }

    /* (non-Javadoc)
     * Method declared on ActionFactory.IWorkbenchAction.
     * @since 3.0
View Full Code Here

        dialog.getShell().setSize(
                Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x),
                SIZING_WIZARD_HEIGHT);
        PlatformUI.getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
        IWorkbenchHelpContextIds.IMPORT_WIZARD);
        dialog.open();
    }

    /**
     * Sets the current selection.
     * In for backwards compatability. Use selectionChanged() instead.
View Full Code Here

        dialog.getShell().setSize(
                Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x),
                SIZING_WIZARD_HEIGHT);
        PlatformUI.getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
        IWorkbenchHelpContextIds.EXPORT_WIZARD);
        dialog.open();
    }

    /**
     * Sets the current selection.
     * In for backwards compatability. Use selectionChanged() instead.
View Full Code Here

        }
       
        Shell parent = activeWindow.getShell();
        WizardDialog dialog = new WizardDialog(parent, wizard);
        dialog.create();
        dialog.open();

      } catch (CoreException ex) {
        throw new ExecutionException("error creating wizard", ex); //$NON-NLS-1$
      }
View Full Code Here

          new RunOnHadoopWizard(new JarModule(resource));

      WizardDialog dialog = new Dialog(null, wizard);
      dialog.create();
      dialog.setBlockOnOpen(true);
      dialog.open();

      return;
    }

    MessageDialog
View Full Code Here

    Shell shell = workbench.getActiveWorkbenchWindow().getShell();
    NewMapReduceProjectWizard wizard = new NewMapReduceProjectWizard();
    wizard.init(workbench, new StructuredSelection());
    WizardDialog dialog = new WizardDialog(shell, wizard);
    dialog.create();
    dialog.open();
    // did the wizard succeed?
    notifyResult(dialog.getReturnCode() == Window.OK);
  }
}
View Full Code Here

    });

    dialog.create();
    dialog.setBlockOnOpen(true);
    dialog.open();

    super.run();
  }
}
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.