public class ScenarioGridModel extends AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Simulation,org.drools.scenariosimulation.api.model.Scenario>
abstractScesimModel, collectionEditorSingletonDOMElementFactory, columnCounter, eventBus, HEADER_ROW_COUNT, scenarioCellTextAreaSingletonDOMElementFactory, scenarioExpressionCellTextAreaSingletonDOMElementFactory, scenarioHeaderTextBoxSingletonDOMElementFactory, selectedColumn, simpleJavaTypeInstancesName
Constructor and Description |
---|
ScenarioGridModel(boolean isMerged) |
Modifier and Type | Method and Description |
---|---|
protected void |
commonAddRow(int rowIndex) |
GridWidget |
getGridWidget() |
org.uberfire.ext.wires.core.grids.client.model.GridData.Range |
getInstanceLimits(int columnIndex)
This methods returns the
Range of a single block of columns of the same instance/data object. |
void |
insertRowGridOnly(int rowIndex,
org.uberfire.ext.wires.core.grids.client.model.GridRow row,
org.drools.scenariosimulation.api.model.Scenario scenario)
This method insert a row to the grid and populate it with values taken from given
Scenario |
appendRow, bindContent, checkAlreadyAssignedProperty, checkSameInstanceHeader, checkSamePropertyHeader, checkSimulation, checkUniquePropertyHeaderTitle, checkValidAndUniqueInstanceHeaderTitle, checkValidAndUniquePropertyHeaderTitle, clear, clearSelections, commonAddColumn, commonAddColumn, commonAddRow, deleteCell, deleteColumn, deleteInstance, deleteRow, duplicateColumnValues, duplicateRow, forceRefreshWidth, getAbstractScesimModel, getCollectionEditorSingletonDOMElementFactory, getDOMElementFactory, getFirstIndexLeftOfGroup, getFirstIndexRightOfGroup, getGroupSize, getInstanceLimits, getInstanceScenarioGridColumns, getInstanceScenarioGridColumns, getInstancesCount, getScenarioCellTextAreaSingletonDOMElementFactory, getScenarioExpressionCellTextAreaSingletonDOMElementFactory, getScenarioHeaderTextBoxSingletonDOMElementFactory, getSelectedColumn, getValidPlaceholders, insertColumn, insertColumnGridOnly, insertRow, insertRowGridOnly, isAlreadyAssignedProperty, isColumnEmpty, isNewInstanceName, isNewPropertyName, isSameInstanceType, isSameInstanceType, isSameSelectedColumnProperty, isSameSelectedColumnProperty, isSameSelectedColumnType, isSameSelectedColumnType, isSelectedColumnEmpty, isSimpleType, loadFactMappingsWidth, nextColumnCount, refreshErrors, refreshErrorsRow, replaceColumn, resetError, resetErrors, resetErrors, selectColumn, selectRow, setCell, setCellGridOnly, setCellValue, setCollectionEditorSingletonDOMElementFactory, setEventBus, setScenarioCellTextAreaSingletonDOMElementFactory, setScenarioExpressionCellTextAreaSingletonDOMElementFactory, setScenarioHeaderTextBoxSingletonDOMElementFactory, setSimpleJavaTypeInstancesName, synchronizeFactMappingsWidths, synchronizeFactMappingWidth, updateColumnInstance, updateColumnProperty, updateFactMapping, updateHeader, updateIndexColumn, validateInstanceHeaderUpdate, validatePropertyHeaderUpdate
appendColumn, collapseCell, deleteColumn, doSetCell, expandCell, getCell, getColumnCount, getColumns, getHeaderRowCount, getRow, getRowCount, getRows, getSelectedCells, getSelectedCellsOrigin, getSelectedHeaderCells, getVisibleHeight, getVisibleWidth, getWidth, internalRefreshWidth, isColumnDraggingEnabled, isMerged, isRowDraggingEnabled, moveColumnsTo, moveColumnTo, moveRowsTo, moveRowTo, refreshWidth, refreshWidth, selectCell, selectCells, selectHeaderCell, setColumnDraggingEnabled, setHeaderRowCount, setMerged, setRowDraggingEnabled, setVisibleSizeAndRefresh, updateColumn
public GridWidget getGridWidget()
getGridWidget
in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Simulation,org.drools.scenariosimulation.api.model.Scenario>
public org.uberfire.ext.wires.core.grids.client.model.GridData.Range getInstanceLimits(int columnIndex)
AbstractScesimGridModel
Range
of a single block of columns of the same instance/data object.
A single
block is made of all the columns immediately to the left and right of the selected one with the same "label".
If there is another column with the same "label" but separated by a different column, it is not part of the group.getInstanceLimits
in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Simulation,org.drools.scenariosimulation.api.model.Scenario>
public void insertRowGridOnly(int rowIndex, org.uberfire.ext.wires.core.grids.client.model.GridRow row, org.drools.scenariosimulation.api.model.Scenario scenario)
Scenario
insertRowGridOnly
in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Simulation,org.drools.scenariosimulation.api.model.Scenario>
row
- protected void commonAddRow(int rowIndex)
commonAddRow
in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Simulation,org.drools.scenariosimulation.api.model.Scenario>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.