public class EmbeddedEditorActions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedEditorActions.Factory |
Modifier and Type | Field and Description |
---|---|
protected static ActionDefinitionToStyledTextAction[] |
ACTION_MAP |
protected java.util.Map<java.lang.String,org.eclipse.jface.action.IAction> |
allActions |
static java.lang.String |
EMBEDDED_TEXT_EDITOR_SCOPE |
protected org.eclipse.jface.text.source.ISourceViewer |
viewer |
protected org.eclipse.ui.IWorkbench |
workbench |
Constructor and Description |
---|
EmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer,
org.eclipse.ui.IWorkbench workbench) |
Modifier and Type | Method and Description |
---|---|
protected void |
createActions() |
protected void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu) |
protected ActionActivationCode |
findActionActivationCode(java.util.List<ActionActivationCode> activationCodes,
java.lang.String actionID) |
protected org.eclipse.jface.action.IAction |
get(java.lang.String actionId) |
protected void |
initialize() |
protected void |
setAction(java.lang.String actionID,
org.eclipse.jface.action.IAction action) |
protected void |
setActionActivationCode(java.util.List<ActionActivationCode> activationCodes,
java.lang.String actionID,
char activationCharacter,
int activationKeyCode,
int activationStateMask) |
protected void |
updateAction(java.lang.String actionId) |
protected void |
updateAllActions() |
protected void |
updateSelectionDependentActions() |
public static final java.lang.String EMBEDDED_TEXT_EDITOR_SCOPE
protected static final ActionDefinitionToStyledTextAction[] ACTION_MAP
protected final java.util.Map<java.lang.String,org.eclipse.jface.action.IAction> allActions
protected final org.eclipse.jface.text.source.ISourceViewer viewer
protected final org.eclipse.ui.IWorkbench workbench
public EmbeddedEditorActions(org.eclipse.jface.text.source.ISourceViewer viewer, org.eclipse.ui.IWorkbench workbench)
protected void initialize()
protected void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
protected void setActionActivationCode(java.util.List<ActionActivationCode> activationCodes, java.lang.String actionID, char activationCharacter, int activationKeyCode, int activationStateMask)
protected ActionActivationCode findActionActivationCode(java.util.List<ActionActivationCode> activationCodes, java.lang.String actionID)
protected void createActions()
protected void setAction(java.lang.String actionID, org.eclipse.jface.action.IAction action)
protected org.eclipse.jface.action.IAction get(java.lang.String actionId)
protected void updateAllActions()
protected void updateSelectionDependentActions()
protected void updateAction(java.lang.String actionId)