Package org.eclipse.wst.sse.ui.internal

Examples of org.eclipse.wst.sse.ui.internal.ExtendedEditorActionBuilder


    IEditorActionBarContributor c = getEditorSite().getActionBarContributor();
    if (c instanceof IPopupMenuContributor) {
      ((IPopupMenuContributor) c).contributeToPopupMenu(menu);
    }
    else {
      ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
      IExtendedContributor pmc = builder.readActionExtensions(getConfigurationPoints());
      if (pmc != null) {
        pmc.setActiveEditor(this);
        pmc.contributeToPopupMenu(menu);
      }
    }
View Full Code Here


    fGotoMatchingBracketAction = new RetargetTextEditorAction(resourceBundle, StructuredTextEditorActionConstants.ACTION_NAME_GOTO_MATCHING_BRACKET + StructuredTextEditorActionConstants.UNDERSCORE);
    fGotoMatchingBracketAction.setActionDefinitionId(ActionDefinitionIds.GOTO_MATCHING_BRACKET);

    // Read action extensions.
    ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
    extendedContributor = builder.readActionExtensions(getExtensionIDs());

    fMenuAdditionsGroupMarker = new GroupMarker(StructuredTextEditorActionConstants.GROUP_NAME_MENU_ADDITIONS);
    fToolbarSeparator = new Separator();
    fToolbarAdditionsGroupMarker = new GroupMarker(StructuredTextEditorActionConstants.GROUP_NAME_TOOLBAR_ADDITIONS);
View Full Code Here

    IEditorActionBarContributor c = getEditorSite().getActionBarContributor();
    if (c instanceof IPopupMenuContributor) {
      ((IPopupMenuContributor) c).contributeToPopupMenu(menu);
    }
    else {
      ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
      IExtendedContributor pmc = builder.readActionExtensions(getConfigurationPoints());
      if (pmc != null) {
        pmc.setActiveEditor(this);
        pmc.contributeToPopupMenu(menu);
      }
    }
View Full Code Here

    IEditorActionBarContributor c = getEditorSite().getActionBarContributor();
    if (c instanceof IPopupMenuContributor) {
      ((IPopupMenuContributor) c).contributeToPopupMenu(menu);
    }
    else {
      ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
      IExtendedContributor pmc = builder.readActionExtensions(getConfigurationPoints());
      if (pmc != null) {
        pmc.setActiveEditor(this);
        pmc.contributeToPopupMenu(menu);
      }
    }
View Full Code Here

    _sourceViewerActionContributor = new SourcePageActionContributor();
    _designViewerActionBarContributor = new DesignPageActionContributor();

    // Read action extensions.
    ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
    _extendedContributor = builder.readActionExtensions(EDITOR_ID);
  }
View Full Code Here

    super();

    sourceViewerActionContributor = new SourcePageActionContributor();

    // Read action extensions.
    ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
    extendedContributor = builder.readActionExtensions(EDITOR_ID);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.sse.ui.internal.ExtendedEditorActionBuilder

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.