Package org.eclipse.ui.internal.dialogs

Examples of org.eclipse.ui.internal.dialogs.PropertyDialog.open()


        IPreferenceNode node = new PreferenceNode("1", page);
        mgr.addToRoot(node);
        PropertyDialog dialog = new PropertyDialog(getSite().getShell(), mgr, sel);
        dialog.create();
        dialog.setMessage(page.getTitle());
        dialog.open();
      }
    };
   
    action.setImageDescriptor(CasEditorPlugin
            .getTaeImageDescriptor(Images.MODEL_PROCESSOR_FOLDER));
View Full Code Here


    IWorkbenchWindow window = PlatformUI.getWorkbench()
        .getActiveWorkbenchWindow();
    if (window != null) {
      PropertyDialog dialog = PropertyDialog.createDialogOn(window
          .getShell(), preferenceNode.getId(), selectedElement);
      dialog.open();
    }
  }

  public String getId() {
    return preferenceNode.getId();
View Full Code Here

        PropertyDialog dialog =
                PropertyDialog.createDialogOn(workbenchWindow.getShell(), Constants.PROJECT_CONTENT_PROPERTIES_PAGE_ID,
                    project);

        if (dialog != null) {
            dialog.open();
        }

    }
}
View Full Code Here

        PropertyDialog dialog =
                PropertyDialog.createDialogOn(workbenchWindow.getShell(), Constants.PROJECT_PROPERTIES_PAGE_ID,
                    project);

        if (dialog != null) {
            dialog.open();
        }

    }
}
View Full Code Here

        IPreferenceNode node = new PreferenceNode("1", page);
        mgr.addToRoot(node);
        PropertyDialog dialog = new PropertyDialog(getSite().getShell(), mgr, sel);
        dialog.create();
        dialog.setMessage(page.getTitle());
        dialog.open();
      }
    };
   
    action.setImageDescriptor(CasEditorPlugin
            .getTaeImageDescriptor(Images.MODEL_PROCESSOR_FOLDER));
View Full Code Here

    BusyIndicator.showWhile(getStandardDisplay(), new Runnable() {
      public void run() {
        dialog.create();
        dialog.setMessage(targetNode.getLabelText());
        dialog.getShell().setText(title);
        result[0] = (dialog.open() == Window.OK);
      }
    });
    return result[0];
  }
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.