org.eclipse.ui.wizards.newresource.BasicNewFolderResourceWizard Java Examples
The following examples show how to use
org.eclipse.ui.wizards.newresource.BasicNewFolderResourceWizard.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LangPerspective.java From goclipse with Eclipse Public License 1.0 | 5 votes |
protected void addNewWizardShortcuts(IPageLayout layout) { // Lang layout.addNewWizardShortcut(LangNewProjectWizard.WIZARD_ID); // General layout.addNewWizardShortcut(BasicNewFolderResourceWizard.WIZARD_ID); layout.addNewWizardShortcut(BasicNewFileResourceWizard.WIZARD_ID); }
Example #2
Source File: NewFolderCommandHandler.java From xds-ide with Eclipse Public License 1.0 | 4 votes |
@Override public Object execute(ExecutionEvent event) throws ExecutionException { WizardUtils.openWizard(BasicNewFolderResourceWizard.WIZARD_ID, HandlerUtil.getActiveShell(event), HandlerUtil.getCurrentSelection(event)); return null; }
Example #3
Source File: NewFolderHandler.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
@Override protected IWizard createWizard(IStructuredSelection selection) { final BasicNewFolderResourceWizard wizard = new BasicNewFolderResourceWizard(); wizard.init(PlatformUI.getWorkbench(), selection); return wizard; }