@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 |
recursivelyFindIsPropertyType(ScenarioSimulationContext context,
FactModelTree factModelTree,
List<String> propertyNameElements) |
protected void |
validateInstanceHeader(ScenarioSimulationContext context,
String headerCellValue,
int columnIndex) |
protected void |
validatePropertyHeader(ScenarioSimulationContext context,
String headerCellValue,
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 void validateInstanceHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex) throws Exception
Exceptionprotected void validatePropertyHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex) throws Exception
Exceptionprotected boolean recursivelyFindIsPropertyType(ScenarioSimulationContext context, FactModelTree factModelTree, List<String> propertyNameElements)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.