public class UndoRedoOverrideActionProvider extends BasicActionProvider
original one
from Eclipse. It replaces the originally used ResourceUndoContext
(which works only resource oriented) by an
ObjectUndoContext
(which works also model object oriented).Modifier and Type | Field and Description |
---|---|
protected org.eclipse.ui.operations.RedoActionHandler |
redoActionHandler |
protected org.eclipse.ui.operations.UndoActionHandler |
undoActionHandler |
selectionProvider, viewer, viewerId, workbenchPart
Constructor and Description |
---|
UndoRedoOverrideActionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
doInit()
Method to override in order to provide a custom initialization of this action
provider.
|
void |
fillActionBars(org.eclipse.ui.IActionBars actionBars) |
void |
updateActionBars() |
addSubMenu, depopulateManager, depopulateManager, extractSubmenuActions, fillContextMenu, fillSubMenu, getEditingDomainFromSelection, init, isActivePropertySheet, isTransient, populateManager, populateManager
protected org.eclipse.ui.operations.UndoActionHandler undoActionHandler
protected org.eclipse.ui.operations.RedoActionHandler redoActionHandler
public void doInit()
BasicActionProvider
doInit
in class BasicActionProvider
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillActionBars
in class org.eclipse.ui.actions.ActionGroup
public void updateActionBars()
updateActionBars
in class org.eclipse.ui.actions.ActionGroup