@Dependent public class SetHeaderCellValueCommand extends AbstractScenarioGridCommand
Command to to set the value of a header' cell| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isInstanceHeader |
protected boolean |
isPropertyHeader |
gridWidget, restorableStatus| Constructor and Description |
|---|
SetHeaderCellValueCommand(GridWidget gridWidget,
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) |
commonUndoRedoPreexecution, execute, getFactIdentifierByColumnTitle, getScenarioGridColumnLocal, redo, setCurrentContext, undocommonExecution, getIdprotected boolean isInstanceHeader
protected boolean isPropertyHeader
public SetHeaderCellValueCommand(GridWidget gridWidget, 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–2020 JBoss by Red Hat. All rights reserved.