@Dependent public class SetHeaderCellValueCommand extends AbstractScenarioGridCommand
Command
to to set the value of a header' cellModifier 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, undo
commonExecution, getId
protected boolean isInstanceHeader
protected boolean isPropertyHeader
public SetHeaderCellValueCommand(GridWidget gridWidget, boolean isInstanceHeader, boolean isPropertyHeader)
protected void internalExecute(ScenarioSimulationContext context) throws Exception
internalExecute
in class AbstractScenarioSimulationCommand
Exception
protected void validateInstanceHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex) throws Exception
Exception
protected void validatePropertyHeader(ScenarioSimulationContext context, String headerCellValue, int columnIndex) throws Exception
Exception
protected boolean recursivelyFindIsPropertyType(ScenarioSimulationContext context, FactModelTree factModelTree, List<String> propertyNameElements)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.