Package org.openl.rules.table.actions
Class UndoableEditTableAction
- java.lang.Object
-
- org.openl.rules.table.actions.UndoableEditTableAction
-
- All Implemented Interfaces:
IUndoableAction,IUndoableGridTableAction
- Direct Known Subclasses:
UndoableInsertAction,UndoableMoveTableAction,UndoableRemoveAction
public abstract class UndoableEditTableAction extends Object implements IUndoableGridTableAction
- Author:
- Andrei Astrouski
-
-
Constructor Summary
Constructors Constructor Description UndoableEditTableAction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IGridRegiongetOriginalRegion(IGridTable table)static IGridTablegetOriginalTable(IGridTable table)static booleanisDecoratorTable(IGridTable table)static IUndoableGridTableActionmoveTable(IGridTable table, MetaInfoWriter metaInfoWriter)Creates actions that moves the table and executes these actions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openl.rules.table.actions.IUndoableGridTableAction
doAction, undoAction
-
-
-
-
Field Detail
-
COLUMNS
public static final boolean COLUMNS
- See Also:
- Constant Field Values
-
ROWS
public static final boolean ROWS
- See Also:
- Constant Field Values
-
INSERT
public static final boolean INSERT
- See Also:
- Constant Field Values
-
REMOVE
public static final boolean REMOVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOriginalTable
public static IGridTable getOriginalTable(IGridTable table)
-
isDecoratorTable
public static boolean isDecoratorTable(IGridTable table)
-
getOriginalRegion
public static IGridRegion getOriginalRegion(IGridTable table)
-
moveTable
public static IUndoableGridTableAction moveTable(IGridTable table, MetaInfoWriter metaInfoWriter)
Creates actions that moves the table and executes these actions.- Parameters:
table- Table to move.metaInfoWriter- Needed to save meta info changes- Returns:
- Actions that moved the table.
-
-