Examples of FitResourceSelectionDialog


Examples of fitedit.dialogs.FitResourceSelectionDialog

   */
  public Object execute(ExecutionEvent event) throws ExecutionException {
    IWorkbenchWindow window = HandlerUtil
        .getActiveWorkbenchWindowChecked(event);

    FitResourceSelectionDialog dialog = new FitResourceSelectionDialog(
        window.getShell(), true);
    dialog.setListLabelProvider(new FitResourceLabelProvider());
    dialog.setTitle("Open FitNesse");
    int returnCode = dialog.open();

    if (returnCode != FitResourceSelectionDialog.OK) {
      return null;
    }

    FitResource r = (FitResource) dialog.getFirstResult();
    if (r == null) {
      return null;
    }

    IFile file = ResourcesPlugin
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.