org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard Java Examples
The following examples show how to use
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard.
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: NewFileHandler.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
@Override protected IWizard createWizard(IStructuredSelection selection) { final BasicNewFileResourceWizard wizard = new BasicNewFileResourceWizard(); wizard.init(PlatformUI.getWorkbench(), selection); return wizard; }