Package org.eclipse.ui.dialogs

Examples of org.eclipse.ui.dialogs.ResourceSelectionDialog.open()


  }
 
  private void handleProjectBrowse() {
    ResourceSelectionDialog dialog =
      new ResourceSelectionDialog(getShell(), ResourcesPlugin.getWorkspace().getRoot(), "Select a modeling project");
    if (dialog.open() == ContainerSelectionDialog.OK) {
      Object[] result = dialog.getResult();
      if (result.length == 1) {
        IFile res = (IFile) result[0];
       
        projectPathText.setText(res.getFullPath().toString());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.