Class BslOutlineContextMenuContribution

  • All Implemented Interfaces:
    org.eclipse.handly.ui.outline.IOutlineContribution

    public class BslOutlineContextMenuContribution
    extends org.eclipse.handly.ui.outline.OutlineContextMenuContribution
    Special OutlineContextMenuContribution for Bsl language.
    Menu contains five actions: Delete, Copy, Paste, Cut, Surround with region
    • Constructor Detail

      • BslOutlineContextMenuContribution

        public BslOutlineContextMenuContribution​(String indent,
                                                 IV8ProjectManager projectManager)
        Constructor
        Parameters:
        indent - actual indent of text editor, can't be null
        projectManager - actual IV8ProjectManager for BslOutlineOpenAdoptableMethodAction, can't be null
    • Method Detail

      • init

        public void init​(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
        Specified by:
        init in interface org.eclipse.handly.ui.outline.IOutlineContribution
        Overrides:
        init in class org.eclipse.handly.ui.outline.OutlineContextMenuContribution
      • getContextMenuId

        protected String getContextMenuId()
        Overrides:
        getContextMenuId in class org.eclipse.handly.ui.outline.OutlineContextMenuContribution
      • getContextMenuExtensionId

        protected String getContextMenuExtensionId()
        Overrides:
        getContextMenuExtensionId in class org.eclipse.handly.ui.outline.OutlineContextMenuContribution
      • contextMenuAboutToShow

        protected void contextMenuAboutToShow​(org.eclipse.jface.action.IMenuManager manager)
        Overrides:
        contextMenuAboutToShow in class org.eclipse.handly.ui.outline.OutlineContextMenuContribution