@Dependent public class SetHeaderCellValueCommand extends AbstractScenarioSimulationCommand
Command to to set the value of a header' cell| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isInstanceHeader |
protected boolean |
isPropertyHeader |
restorableStatus| Constructor and Description |
|---|
SetHeaderCellValueCommand() |
SetHeaderCellValueCommand(boolean isInstanceHeader,
boolean isPropertyHeader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalExecute(ScenarioSimulationContext context) |
protected boolean |
validateInstanceHeader(ScenarioSimulationContext context,
String headerValue,
int columnIndex) |
protected boolean |
validatePropertyHeader(ScenarioSimulationContext context,
String headerValue,
int columnIndex) |
commonExecution, execute, getFactIdentifierByColumnTitle, getId, getScenarioGridColumnLocal, getScenarioGridColumnLocal, isUndoable, redo, setCurrentContext, undoprotected boolean isInstanceHeader
protected boolean isPropertyHeader
public SetHeaderCellValueCommand()
public SetHeaderCellValueCommand(boolean isInstanceHeader,
boolean isPropertyHeader)
protected void internalExecute(ScenarioSimulationContext context) throws Exception
internalExecute in class AbstractScenarioSimulationCommandExceptionprotected boolean validateInstanceHeader(ScenarioSimulationContext context, String headerValue, int columnIndex)
protected boolean validatePropertyHeader(ScenarioSimulationContext context, String headerValue, int columnIndex)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.