Package fitedit.dialogs

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

Related Classes of fitedit.dialogs.FitResourceSelectionDialog

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.