@Dependent public class ScenarioSimulationMainGridPanelMouseMoveHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelMouseMoveHandler
Modifier and Type | Field and Description |
---|---|
protected Integer |
currentlyShownBodyColumnIndex |
protected Integer |
currentlyShownBodyRowIndex |
protected ErrorReportPopoverPresenter |
errorReportPopupPresenter |
rendererHelper, scenarioGrid, scenarioGridPanel
Constructor and Description |
---|
ScenarioSimulationMainGridPanelMouseMoveHandler() |
Modifier and Type | Method and Description |
---|---|
protected int |
getCellHeight(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex) |
void |
hidePopover() |
protected boolean |
manageBodyCoordinates(Integer uiRowIndex,
Integer uiColumnIndex)
This method check if the click happened on an column of a grid row.
|
protected void |
manageFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex) |
protected void |
manageFailedFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex) |
protected boolean |
manageGivenExpectHeaderCoordinates(ScenarioHeaderMetaData clickedScenarioHeaderMetadata,
ScenarioGridColumn scenarioGridColumn,
String group,
Integer uiColumnIndex)
This method manage the click happened on an GIVEN or EXPECT header, starting editing it if not already did.
|
void |
onNodeMouseMove(com.ait.lienzo.client.core.event.NodeMouseMoveEvent event) |
protected com.ait.lienzo.client.core.types.Point2D |
retrieveCellMiddleXYPosition(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex) |
void |
setErrorReportPopupPresenter(ErrorReportPopoverPresenter errorReportPopupPresenter) |
protected void |
setupPopupPresenter(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
int uiRowIndex,
int uiColumnIndex,
int xPosition,
int yPosition,
PopoverView.Position position) |
convertDOMToGridCoordinateLocal, getColumnScenarioHeaderMetaDataLocal, getUiColumnIndexLocal, getUiHeaderRowIndexLocal, getUiRowIndexLocal, manageCoordinates, manageHeaderCoordinates, setScenarioGridPanel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setScenarioGridPanel
protected ErrorReportPopoverPresenter errorReportPopupPresenter
protected Integer currentlyShownBodyRowIndex
protected Integer currentlyShownBodyColumnIndex
public ScenarioSimulationMainGridPanelMouseMoveHandler()
public void onNodeMouseMove(com.ait.lienzo.client.core.event.NodeMouseMoveEvent event)
onNodeMouseMove
in interface com.ait.lienzo.client.core.event.NodeMouseMoveHandler
public void hidePopover()
hidePopover
in interface ScenarioSimulationGridPanelMouseMoveHandler
public void setErrorReportPopupPresenter(ErrorReportPopoverPresenter errorReportPopupPresenter)
setErrorReportPopupPresenter
in interface ScenarioSimulationGridPanelMouseMoveHandler
protected boolean manageGivenExpectHeaderCoordinates(ScenarioHeaderMetaData clickedScenarioHeaderMetadata, ScenarioGridColumn scenarioGridColumn, String group, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandler
manageGivenExpectHeaderCoordinates
in class AbstractScenarioSimulationGridPanelHandler
protected boolean manageBodyCoordinates(Integer uiRowIndex, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandler
false
manageBodyCoordinates
in class AbstractScenarioSimulationGridPanelHandler
protected void manageFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage, Integer uiRowIndex, Integer uiColumnIndex)
protected void manageFailedFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage, Integer uiRowIndex, Integer uiColumnIndex)
protected void setupPopupPresenter(org.drools.scenariosimulation.api.model.FactMappingValue toManage, int uiRowIndex, int uiColumnIndex, int xPosition, int yPosition, PopoverView.Position position)
protected com.ait.lienzo.client.core.types.Point2D retrieveCellMiddleXYPosition(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column, int uiRowIndex)
protected int getCellHeight(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column, int uiRowIndex)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.