Class ErdOperationManager
- java.lang.Object
-
- com._1c.g5.v8.dt.erd.ui.editors.support.ErdOperationManager
-
-
Constructor Summary
Constructors Constructor Description ErdOperationManager(ErdEditor editor)
Constuctor.ErdOperationManager(ErdEditor editor, org.eclipse.core.commands.operations.IUndoContext undoContext)
Constuctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes of this manager.void
executeOperation(org.eclipse.core.commands.operations.IUndoableOperation operation)
Executes given operation in managed editor.org.eclipse.ui.operations.UndoRedoActionGroup
getHistoryActionGroup()
Returns history action group.
-
-
-
Constructor Detail
-
ErdOperationManager
public ErdOperationManager(ErdEditor editor)
Constuctor.- Parameters:
editor
- - editor to manage operations. Can't benull
.
-
ErdOperationManager
public ErdOperationManager(ErdEditor editor, org.eclipse.core.commands.operations.IUndoContext undoContext)
Constuctor.- Parameters:
editor
- - editor to manage operations. Can't benull
.undoContext
- - undo context to use. Can't benull
.
-
-
Method Detail
-
dispose
public void dispose()
Disposes of this manager.
-
getHistoryActionGroup
public org.eclipse.ui.operations.UndoRedoActionGroup getHistoryActionGroup()
Returns history action group.- Returns:
- history action group. Can't return
null
.
-
executeOperation
public void executeOperation(org.eclipse.core.commands.operations.IUndoableOperation operation)
Executes given operation in managed editor.- Parameters:
operation
- - operation to execute. Can't benull
.
-
-