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 |
gridWidgetrestorableStatus| 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, getFactIdentifierByColumnTitle, getScenarioGridColumnLocal, setCurrentContext, setRestorableStatusPreExecutionexecute, redo, undocommonExecution, getIdprotected boolean isInstanceHeader
protected boolean isPropertyHeader
public SetHeaderCellValueCommand(GridWidget gridWidget, boolean isInstanceHeader, boolean isPropertyHeader)
protected void internalExecute(ScenarioSimulationContext context)
internalExecute in class AbstractScenarioSimulationCommandprotected void validateInstanceHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex)
protected void validatePropertyHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex)
protected boolean recursivelyFindIsPropertyType(ScenarioSimulationContext context, FactModelTree factModelTree, List<String> propertyNameElements)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.