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.OutlineContextMenuContribution
SpecialOutlineContextMenuContribution
for 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 void
contextMenuAboutToShow(org.eclipse.jface.action.IMenuManager manager)
protected String
getContextMenuExtensionId()
protected String
getContextMenuId()
void
init(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 benull
projectManager
- actualIV8ProjectManager
forBslOutlineOpenAdoptableMethodAction
, can't benull
-
-
Method Detail
-
init
public void init(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
- Specified by:
init
in interfaceorg.eclipse.handly.ui.outline.IOutlineContribution
- Overrides:
init
in classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
getContextMenuId
protected String getContextMenuId()
- Overrides:
getContextMenuId
in classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
getContextMenuExtensionId
protected String getContextMenuExtensionId()
- Overrides:
getContextMenuExtensionId
in classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
contextMenuAboutToShow
protected void contextMenuAboutToShow(org.eclipse.jface.action.IMenuManager manager)
- Overrides:
contextMenuAboutToShow
in classorg.eclipse.handly.ui.outline.OutlineContextMenuContribution
-
-