public interface CellCommand<T>
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(RenderContext context) |
CellParameters |
createParameters(RenderContext context) |
T |
execute(PivotModel model,
CellParameters parameters) |
String |
getDescription() |
String |
getMode(RenderContext context)
For commands that have a state that should be represented differently in
UI (i.e. different icons for each sort modes)
|
String |
getName() |
String getName()
String getDescription()
String getMode(RenderContext context)
context
- boolean canExecute(RenderContext context)
CellParameters createParameters(RenderContext context)
T execute(PivotModel model, CellParameters parameters)
Copyright © 2012-2013 Eyeq MC. All Rights Reserved.