/** * Returns the shell provided by the site owning this action. * * @return the site's shell */ @Override public Shell getShell() { if (fShell != null) return fShell; return super.getShell(); }
/** * Returns the shell provided by the site owning this action. * * @return the site's shell */ @Override public Shell getShell() { if (fShell != null) return fShell; return super.getShell(); }
IJavaElement element= SelectionConverter.selectJavaElement(types.toArray(new IType[types.size()]), fOpenAction.getShell(), ActionMessages.OpenAction_error_title, ActionMessages.OpenAction_select_element); if (element != null) { fOpenAction.run(new StructuredSelection(element));