Package com._1c.g5.v8.dt.bsl.ui.outline
Class BslOutlineContextMenuContribution
- java.lang.Object
-
- org.eclipse.handly.ui.outline.OutlineContribution
-
- org.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
- com._1c.g5.v8.dt.bsl.ui.outline.BslOutlineContextMenuContribution
-
- All Implemented Interfaces:
org.eclipse.handly.ui.outline.IOutlineContribution
public class BslOutlineContextMenuContribution extends org.eclipse.handly.ui.outline.OutlineContextMenuContributionSpecialOutlineContextMenuContributionfor Bsl language.
Menu contains five actions: Delete, Copy, Paste, Cut, Surround with region
-
-
Constructor Summary
Constructors Constructor Description BslOutlineContextMenuContribution(String indent, IV8ProjectManager projectManager)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcontextMenuAboutToShow(org.eclipse.jface.action.IMenuManager manager)protected StringgetContextMenuExtensionId()protected StringgetContextMenuId()voidinit(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
-
-
-
Constructor Detail
-
BslOutlineContextMenuContribution
public BslOutlineContextMenuContribution(String indent, IV8ProjectManager projectManager)
Constructor- Parameters:
indent- actual indent of text editor, can't benullprojectManager- actualIV8ProjectManagerforBslOutlineOpenAdoptableMethodAction, can't benull
-
-
Method Detail
-
init
public void init(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
- Specified by:
initin interfaceorg.eclipse.handly.ui.outline.IOutlineContribution- Overrides:
initin classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
getContextMenuId
protected String getContextMenuId()
- Overrides:
getContextMenuIdin classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
getContextMenuExtensionId
protected String getContextMenuExtensionId()
- Overrides:
getContextMenuExtensionIdin classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
contextMenuAboutToShow
protected void contextMenuAboutToShow(org.eclipse.jface.action.IMenuManager manager)
- Overrides:
contextMenuAboutToShowin classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
-