Package org.eclipse.jface.wizard

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


        // Instantiates and initializes the wizard
        NewProjectWizard wizard = new NewProjectWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }


    /* (non-Javadoc)
 
View Full Code Here


        // Instantiates and initializes the wizard
        NewSchemaWizard wizard = new NewSchemaWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }


    /* (non-Javadoc)
 
View Full Code Here

    public void run()
    {
        BatchOperationWizard wizard = new BatchOperationWizard();
        WizardDialog dialog = new WizardDialog( getShell(), wizard );
        dialog.setBlockOnOpen( true );
        dialog.create();
        dialog.open();
    }
}
View Full Code Here

        NewBookmarkWizard wizard = new NewBookmarkWizard();
        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        wizard.init( window.getWorkbench(), ( IStructuredSelection ) window.getSelectionService().getSelection() );
        WizardDialog dialog = new WizardDialog( getShell(), wizard );
        dialog.setBlockOnOpen( true );
        dialog.create();
        dialog.open();
    }


    /**
 
View Full Code Here

        wizard.init( this.window.getWorkbench(), ( IStructuredSelection ) this.window.getSelectionService()
            .getSelection() );
        WizardDialog dialog = new WizardDialog( getShell(), wizard );
        dialog.setBlockOnOpen( true );
        dialog.create();
        dialog.open();
    }


    /**
 
View Full Code Here

        if ( wizard != null )
        {
            WizardDialog dialog = new WizardDialog( getShell(), wizard );
            dialog.setBlockOnOpen( true );
            dialog.create();
            dialog.open();
        }

    }
View Full Code Here

        if ( entry != null )
        {
            AttributeWizard wizard = new AttributeWizard( "New Attribute", true, true, null, entry );
            WizardDialog dialog = new WizardDialog( getShell(), wizard );
            dialog.setBlockOnOpen( true );
            dialog.create();
            if ( dialog.open() == WizardDialog.OK )
            {
                String newAttributeDescription = wizard.getAttributeDescription();
                if ( newAttributeDescription != null && !"".equals( newAttributeDescription ) )
                {
View Full Code Here

                AttributeWizard wizard = new AttributeWizard( "Edit Attribute Description", true, false,
                    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

  @Override
  public Object execute(final ExecutionEvent event) throws ExecutionException {
    final DownloadWizard w = new DownloadWizard();
    final Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
    final WizardDialog dialog = new WizardDialog(shell, w);
    dialog.create();
    dialog.open();
    return null;
  }

}
View Full Code Here

        final NewFolderWizard w = new NewFolderWizard();
        w.init(ScannedMapsView.this.getSite().getWorkbenchWindow().getWorkbench(),
          (IStructuredSelection) getViewer().getSelection());
        final WizardDialog dialog = new WizardDialog(ScannedMapsView.this.getSite()
          .getShell(), w);
        dialog.create();
        dialog.open();
      }
    };
    _newFolderAction.setToolTipText(Messages.ScannedMapsView_NewFolderTooltip);
    _newFolderAction.setImageDescriptor(Activator.getImageDescriptor("/icons/folder_add.png")); //$NON-NLS-1$
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.