Class ScenarioContextMenuRegistry
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.menu.ScenarioContextMenuRegistry
-
@Dependent public class ScenarioContextMenuRegistry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorReportPopoverPresentererrorReportPopoverPresenterprotected ExpectedContextMenuexpectedContextMenuprotected GivenContextMenugivenContextMenuprotected GridContextMenugridContextMenuprotected HeaderExpectedContextMenuheaderExpectedContextMenuprotected HeaderGivenContextMenuheaderGivenContextMenuprotected OtherContextMenuotherContextMenu
-
Constructor Summary
Constructors Constructor Description ScenarioContextMenuRegistry(OtherContextMenu otherContextMenu, HeaderGivenContextMenu headerGivenContextMenu, HeaderExpectedContextMenu headerExpectedContextMenu, GivenContextMenu givenContextMenu, ExpectedContextMenu expectedContextMenu, GridContextMenu gridContextMenu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhideErrorReportPopover()voidhideMenus()booleanmanageRightClick(ScenarioGrid scenarioGrid, int clientXPosition, int clientYPosition, Integer uiRowIndex, Integer uiColumnIndex, boolean isHeader)booleanmanageRightClick(ScenarioGrid scenarioGrid, com.google.gwt.event.dom.client.ContextMenuEvent event)voidsetErrorReportPopoverPresenter(ErrorReportPopoverPresenter errorReportPopoverPresenter)voidsetEventBus(com.google.gwt.event.shared.EventBus eventBus)
-
-
-
Field Detail
-
otherContextMenu
protected OtherContextMenu otherContextMenu
-
headerGivenContextMenu
protected HeaderGivenContextMenu headerGivenContextMenu
-
headerExpectedContextMenu
protected HeaderExpectedContextMenu headerExpectedContextMenu
-
givenContextMenu
protected GivenContextMenu givenContextMenu
-
expectedContextMenu
protected ExpectedContextMenu expectedContextMenu
-
gridContextMenu
protected GridContextMenu gridContextMenu
-
errorReportPopoverPresenter
protected ErrorReportPopoverPresenter errorReportPopoverPresenter
-
-
Constructor Detail
-
ScenarioContextMenuRegistry
@Inject public ScenarioContextMenuRegistry(OtherContextMenu otherContextMenu, HeaderGivenContextMenu headerGivenContextMenu, HeaderExpectedContextMenu headerExpectedContextMenu, GivenContextMenu givenContextMenu, ExpectedContextMenu expectedContextMenu, GridContextMenu gridContextMenu)
-
-
Method Detail
-
setEventBus
public void setEventBus(com.google.gwt.event.shared.EventBus eventBus)
-
hideMenus
public void hideMenus()
-
manageRightClick
public boolean manageRightClick(ScenarioGrid scenarioGrid, com.google.gwt.event.dom.client.ContextMenuEvent event)
-
manageRightClick
public boolean manageRightClick(ScenarioGrid scenarioGrid, int clientXPosition, int clientYPosition, Integer uiRowIndex, Integer uiColumnIndex, boolean isHeader)
-
setErrorReportPopoverPresenter
public void setErrorReportPopoverPresenter(ErrorReportPopoverPresenter errorReportPopoverPresenter)
-
hideErrorReportPopover
public void hideErrorReportPopover()
-
-