@Dependent public class CommandExecutor extends Object implements AppendColumnEventHandler, AppendRowEventHandler, DeleteColumnEventHandler, DeleteRowEventHandler, DisableRightPanelEventHandler, DuplicateRowEventHandler, EnableRightPanelEventHandler, InsertColumnEventHandler, InsertRowEventHandler, PrependColumnEventHandler, PrependRowEventHandler, ReloadRightPanelEventHandler, ScenarioGridReloadEventHandler, ScenarioNotificationEventHandler, SetInstanceHeaderEventHandler, SetPropertyHeaderEventHandler
Commands.
It follows the GWT standard Event/Handler mechanism
| Modifier and Type | Field and Description |
|---|---|
protected DeletePopupPresenter |
deletePopupPresenter |
protected com.google.gwt.event.shared.EventBus |
eventBus |
protected List<com.google.gwt.event.shared.HandlerRegistration> |
handlerRegistrationList |
protected ScenarioGridModel |
model |
protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> |
notificationEvent |
protected PreserveDeletePopupPresenter |
preserveDeletePopupPresenter |
protected RightPanelView.Presenter |
rightPanelPresenter |
protected ScenarioGridLayer |
scenarioGridLayer |
protected ScenarioGridPanel |
scenarioGridPanel |
protected ScenarioSimulationEditorPresenter |
scenarioSimulationEditorPresenter |
| Constructor and Description |
|---|
CommandExecutor() |
protected ScenarioGridModel model
protected ScenarioGridPanel scenarioGridPanel
protected ScenarioGridLayer scenarioGridLayer
protected ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter
protected RightPanelView.Presenter rightPanelPresenter
protected DeletePopupPresenter deletePopupPresenter
protected PreserveDeletePopupPresenter preserveDeletePopupPresenter
protected com.google.gwt.event.shared.EventBus eventBus
protected List<com.google.gwt.event.shared.HandlerRegistration> handlerRegistrationList
protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent
public void setEventBus(com.google.gwt.event.shared.EventBus eventBus)
public void setScenarioSimulationEditorPresenter(ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter)
public void setRightPanelPresenter(RightPanelView.Presenter rightPanelPresenter)
public void setScenarioGridPanel(ScenarioGridPanel scenarioGridPanel)
ScenarioGridPanel, ScenarioGridLayer and ScenarioGridModel
from the give ScenarioGridPanelscenarioGridPanel - public void setDeletePopupPresenter(DeletePopupPresenter deletePopupPresenter)
public void setPreserveDeletePopupPresenter(PreserveDeletePopupPresenter preserveDeletePopupPresenter)
public void setNotificationEvent(javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent)
@PreDestroy public void unregisterHandlers()
public void onEvent(AppendColumnEvent event)
onEvent in interface AppendColumnEventHandlerpublic void onEvent(AppendRowEvent event)
onEvent in interface AppendRowEventHandlerpublic void onEvent(DeleteColumnEvent event)
onEvent in interface DeleteColumnEventHandlerpublic void onEvent(DeleteRowEvent event)
onEvent in interface DeleteRowEventHandlerpublic void onEvent(DisableRightPanelEvent event)
onEvent in interface DisableRightPanelEventHandlerpublic void onEvent(DuplicateRowEvent event)
onEvent in interface DuplicateRowEventHandlerpublic void onEvent(EnableRightPanelEvent event)
onEvent in interface EnableRightPanelEventHandlerpublic void onEvent(InsertColumnEvent event)
onEvent in interface InsertColumnEventHandlerpublic void onEvent(InsertRowEvent event)
onEvent in interface InsertRowEventHandlerpublic void onEvent(PrependColumnEvent event)
onEvent in interface PrependColumnEventHandlerpublic void onEvent(PrependRowEvent event)
onEvent in interface PrependRowEventHandlerpublic void onEvent(ReloadRightPanelEvent event)
onEvent in interface ReloadRightPanelEventHandlerpublic void handle(ScenarioGridReloadEvent event)
handle in interface ScenarioGridReloadEventHandlerpublic void onEvent(ScenarioNotificationEvent event)
onEvent in interface ScenarioNotificationEventHandlerpublic void onEvent(SetInstanceHeaderEvent event)
onEvent in interface SetInstanceHeaderEventHandlerpublic void onEvent(SetPropertyHeaderEvent event)
onEvent in interface SetPropertyHeaderEventHandlerCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.