Examples of AddReferenceWizard


Examples of org.jayasoft.woj.client.module.addreference.AddReferenceWizard

   *
   * @param containingJarPath
   * @return Window.OK or Window.CANCEL
   */
    public static int showAddReferenceDialog(String containingJarPath) {
        AddReferenceWizard wizard = new AddReferenceWizard();
        wizard.init(PlatformUI.getWorkbench(), new StructuredSelection(containingJarPath));
        WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
        dialog.setPageSize(500, 200);
        dialog.setBlockOnOpen(true);
        return 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.