Package org.eclipse.ui.activities

Examples of org.eclipse.ui.activities.ITriggerPoint


    /* (non-Javadoc)
     * @see org.eclipse.jface.wizard.IWizardPage#getNextPage()
     */
    public IWizardPage getNextPage() {
        ITriggerPoint triggerPoint = getWorkbench().getActivitySupport()
        .getTriggerPointManager().getTriggerPoint(triggerPointId);
        if (triggerPoint == null || WorkbenchActivityHelper.allowUseOf(triggerPoint, getSelectedNode())) {
      return super.getNextPage();
    }
        return null;
View Full Code Here


    /* (non-Javadoc)
     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
     */
    protected void okPressed() {
        ITriggerPoint triggerPoint = PlatformUI.getWorkbench()
                .getActivitySupport().getTriggerPointManager().getTriggerPoint(
                        WorkbenchTriggerPoints.OPEN_PERSPECITVE_DIALOG);
        if (WorkbenchActivityHelper.allowUseOf(triggerPoint, getSelection())) {
      super.okPressed();
    }
View Full Code Here

    /*
     * (non-Javadoc)
     * @see org.eclipse.jface.wizard.IWizardPage#getNextPage()
     */
    public IWizardPage getNextPage() {
      ITriggerPoint triggerPoint = getTriggerPoint();
       
        if (triggerPoint == null || WorkbenchActivityHelper.allowUseOf(triggerPoint, getSelectedNode())) {
      return super.getNextPage();
    }
        return null;
View Full Code Here

    super.okPressed();
  }

  private void setResultFromTree() {
    if (currentSelection != null) {
      ITriggerPoint triggerPoint = PlatformUI.getWorkbench()
          .getActivitySupport().getTriggerPointManager()
          .getTriggerPoint(ICheatSheetResource.TRIGGER_POINT_ID);
      if (WorkbenchActivityHelper.allowUseOf(triggerPoint,
          currentSelection)) {
        new OpenCheatSheetAction(currentSelection.getID()).run();
View Full Code Here

  protected IWizardCategory getRootCategory() {
    return new WizardsRegistryReader(Activator.PLUGIN_ID, IWizardRegistryConstants.CONFIGURE_EPOINT).getWizardElements();
  }

  public IWizardPage getNextPage() {
    ITriggerPoint triggerPoint = getTriggerPoint();

    if (triggerPoint == null || WorkbenchActivityHelper.allowUseOf(triggerPoint, getSelectedNode())) {
      return super.getNextPage();
    }
    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.ui.activities.ITriggerPoint

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.