*
* @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();
}