public abstract class UndoableRemoveAction extends UndoableEditTableAction
COLUMNS, INSERT, REMOVE, ROWS| Constructor and Description |
|---|
UndoableRemoveAction() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canPerformAction(IGridRegion gridRegion)
Checks if action can be performed.
|
void |
doAction(IGridTable table) |
protected abstract GridRegionAction |
getGridRegionAction(IGridRegion gridRegion,
int numberToRemove) |
protected abstract int |
getNumberToRemove(IGridTable table)
Get actual number of rows or columns to be removed.
|
protected abstract IUndoableGridTableAction |
performAction(int numberToRemove,
IGridRegion fullTableRegion,
IGridTable table)
Perform action for removing rows or columns.
|
void |
undoAction(IGridTable table) |
getOriginalRegion, getOriginalTable, isDecoratorTable, moveTablepublic void doAction(IGridTable table)
public void undoAction(IGridTable table)
protected abstract boolean canPerformAction(IGridRegion gridRegion)
gridRegion - protected abstract int getNumberToRemove(IGridTable table)
table - protected abstract IUndoableGridTableAction performAction(int numberToRemove, IGridRegion fullTableRegion, IGridTable table)
numberToRemove - fullTableRegion - table - protected abstract GridRegionAction getGridRegionAction(IGridRegion gridRegion, int numberToRemove)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.