Class CustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions
-
- com._1c.g5.v8.dt.lcore.ui.editor.embedded.CustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
-
- Enclosing class:
- CustomEmbeddedEditorActionsFactory
public static class CustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions extends org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions
Implementation of EmbeddedEditorActions with additional actions.
-
-
Field Summary
Fields Modifier and Type Field Description static String
POPUP_XTEXT_EMBEDDED_EDITOR_ID
-
Constructor Summary
Constructors Constructor Description CustomEmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer, org.eclipse.ui.IWorkbench workbench)
Constructor ofCustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
.CustomEmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer, org.eclipse.ui.IWorkbench workbench, String editorId)
Constructor ofCustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.eclipse.jface.text.source.SourceViewerConfiguration configuration)
Configure actions with source viewer configuration.protected void
createActions()
protected void
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
protected void
initialize()
-
-
-
Field Detail
-
POPUP_XTEXT_EMBEDDED_EDITOR_ID
public static final String POPUP_XTEXT_EMBEDDED_EDITOR_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CustomEmbeddedEditorActions
public CustomEmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer, org.eclipse.ui.IWorkbench workbench)
Constructor ofCustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
.- Parameters:
viewer
- target source viewer, cannot benull
workbench
- current workbench, cannot benull
-
CustomEmbeddedEditorActions
public CustomEmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer, org.eclipse.ui.IWorkbench workbench, String editorId)
Constructor ofCustomEmbeddedEditorActionsFactory.CustomEmbeddedEditorActions
.- Parameters:
viewer
- target source viewer, cannot benull
workbench
- current workbench, cannot benull
editorId
- editor id, cannot benull
-
-
Method Detail
-
configure
public void configure(org.eclipse.jface.text.source.SourceViewerConfiguration configuration)
Configure actions with source viewer configuration.- Parameters:
configuration
- source viewer configuration to configure actions, cannot benull
-
initialize
protected void initialize()
- Overrides:
initialize
in classorg.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions
-
createActions
protected void createActions()
- Overrides:
createActions
in classorg.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions
-
fillContextMenu
protected void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
- Overrides:
fillContextMenu
in classorg.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions
-
-