Package org.eclipse.ui.wizards.newresource

Examples of org.eclipse.ui.wizards.newresource.BasicNewFolderResourceWizard


  public Object execute(ExecutionEvent event) throws ExecutionException {
    IStructuredSelection selection = XVRUtils.getSelectionFromEvent(event);
    if(selection == null)
      throw new ExecutionException("Empty selection");

    BasicNewFolderResourceWizard wizard = new BasicNewFolderResourceWizard();
    wizard.init(HandlerUtil.getActiveWorkbenchWindow(event).getWorkbench(), selection);
    WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), wizard);
    dialog.open();
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.wizards.newresource.BasicNewFolderResourceWizard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.