use of org.eclipse.ui.wizards.IWizardRegistry in project translationstudio8 by heartsome.
the class NewActionProvider method hasExamples.
/**
* Return whether or not any examples are in the current install.
*
* @return True if there exists a full examples wizard category.
*/
private boolean hasExamples() {
IWizardRegistry newRegistry = PlatformUI.getWorkbench().getNewWizardRegistry();
IWizardCategory category = newRegistry.findCategory(FULL_EXAMPLES_WIZARD_CATEGORY);
return category != null;
}
Aggregations