@Test public void registerHandlers() { scenarioSimulationEventHandler.registerHandlers(); verify(eventBusMock, times(1)).addHandler(eq(AppendColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(appendColumnHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(AppendRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(appendRowHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(DeleteColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(deleteColumnHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(DeleteRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(deleteRowHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(DisableTestToolsEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(disableTestToolsEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(DuplicateInstanceEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(duplicateColumnHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(DuplicateRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(duplicateHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(EnableTestToolsEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(enableTestToolsEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(ImportEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(importHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(InsertColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(insertColumnHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(InsertRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(insertRowHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(PrependColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(prependColumnHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(PrependRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(prependRowHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(RedoEvent.TYPE), isA(RedoEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(redoEventHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(ReloadTestToolsEvent.TYPE), isA(ReloadTestToolsEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(reloadTestToolsHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(RunSingleScenarioEvent.TYPE), isA(RunSingleScenarioEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(runSingleScenarioHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(ScenarioGridReloadEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(scenarioGridReloadHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(SetGridCellValueEvent.TYPE), isA(SetGridCellValueEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(setGridCellValueEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(SetHeaderCellValueEvent.TYPE), isA(SetHeaderCellValueEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(setHeaderCellValueEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(SetInstanceHeaderEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(setInstanceHeaderEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(SetPropertyHeaderEvent.TYPE), isA(ScenarioSimulationEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(setPropertyHeaderEventHandlerMock)); verify(eventBusMock, times(1)).addHandler(eq(UndoEvent.TYPE), isA(UndoEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(undoEventHandlerRegistrationMock)); verify(eventBusMock, times(1)).addHandler(eq(UnsupportedDMNEvent.TYPE), isA(UnsupportedDMNEventHandler.class)); verify(handlerRegistrationListMock, times(1)).add(eq(unsupportedDMNEventHandlerRegistrationMock)); }
protected void registerHandlers() { handlerRegistrationList.add(eventBus.addHandler(AppendColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(AppendRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DisableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateInstanceEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(EnableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ImportEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RedoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ReloadTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RunSingleScenarioEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioGridReloadEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioNotificationEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetGridCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetHeaderCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetInstanceHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetPropertyHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UndoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UnsupportedDMNEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ValidateSimulationEvent.TYPE, this)); }
ScenarioSimulationEventHandler implements AppendColumnEventHandler,
                                                       AppendRowEventHandler,
                                                       DeleteColumnEventHandler,
                                                       DeleteRowEventHandler,
                                                       DisableTestToolsEventHandler,
                                                       DuplicateInstanceEventHandler,
                                                       DuplicateRowEventHandler,
                                                       EnableTestToolsEventHandler,
                                                       ImportEventHandler,
                                                       InsertColumnEventHandler,
                                                       InsertRowEventHandler,
                                                       PrependColumnEventHandler,
                                                       PrependRowEventHandler,
                                                       RedoEventHandler,
                                                       ReloadTestToolsEventHandler,
                                                       RunSingleScenarioEventHandler,
                                                       ScenarioGridReloadEventHandler,
                                                       ScenarioNotificationEventHandler,
                                                       SetGridCellValueEventHandler,
                                                       SetHeaderCellValueEventHandler,
                                                       SetInstanceHeaderEventHandler,
                                                       SetPropertyHeaderEventHandler,
                                                       UndoEventHandler,
                                                       UnsupportedDMNEventHandler,
                                                       ValidateSimulationEventHandler { protected void registerHandlers() { handlerRegistrationList.add(eventBus.addHandler(AppendColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(AppendRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DisableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateInstanceEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(EnableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ImportEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RedoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ReloadTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RunSingleScenarioEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioGridReloadEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioNotificationEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetGridCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetHeaderCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetInstanceHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetPropertyHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UndoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UnsupportedDMNEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ValidateSimulationEvent.TYPE, this)); } }
ScenarioSimulationEventHandler implements AppendColumnEventHandler,
                                                       AppendRowEventHandler,
                                                       DeleteColumnEventHandler,
                                                       DeleteRowEventHandler,
                                                       DisableTestToolsEventHandler,
                                                       DuplicateInstanceEventHandler,
                                                       DuplicateRowEventHandler,
                                                       EnableTestToolsEventHandler,
                                                       ImportEventHandler,
                                                       InsertColumnEventHandler,
                                                       InsertRowEventHandler,
                                                       PrependColumnEventHandler,
                                                       PrependRowEventHandler,
                                                       RedoEventHandler,
                                                       ReloadTestToolsEventHandler,
                                                       RunSingleScenarioEventHandler,
                                                       ScenarioGridReloadEventHandler,
                                                       ScenarioNotificationEventHandler,
                                                       SetGridCellValueEventHandler,
                                                       SetHeaderCellValueEventHandler,
                                                       SetInstanceHeaderEventHandler,
                                                       SetPropertyHeaderEventHandler,
                                                       UndoEventHandler,
                                                       UnsupportedDMNEventHandler,
                                                       ValidateSimulationEventHandler { protected void registerHandlers() { handlerRegistrationList.add(eventBus.addHandler(AppendColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(AppendRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DisableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateInstanceEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(EnableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ImportEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RedoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ReloadTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RunSingleScenarioEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioGridReloadEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioNotificationEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetGridCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetHeaderCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetInstanceHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetPropertyHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UndoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UnsupportedDMNEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ValidateSimulationEvent.TYPE, this)); }  }
ScenarioSimulationEventHandler implements AppendColumnEventHandler,
                                                       AppendRowEventHandler,
                                                       DeleteColumnEventHandler,
                                                       DeleteRowEventHandler,
                                                       DisableTestToolsEventHandler,
                                                       DuplicateInstanceEventHandler,
                                                       DuplicateRowEventHandler,
                                                       EnableTestToolsEventHandler,
                                                       ImportEventHandler,
                                                       InsertColumnEventHandler,
                                                       InsertRowEventHandler,
                                                       PrependColumnEventHandler,
                                                       PrependRowEventHandler,
                                                       RedoEventHandler,
                                                       ReloadTestToolsEventHandler,
                                                       RunSingleScenarioEventHandler,
                                                       ScenarioGridReloadEventHandler,
                                                       ScenarioNotificationEventHandler,
                                                       SetGridCellValueEventHandler,
                                                       SetHeaderCellValueEventHandler,
                                                       SetInstanceHeaderEventHandler,
                                                       SetPropertyHeaderEventHandler,
                                                       UndoEventHandler,
                                                       UnsupportedDMNEventHandler,
                                                       ValidateSimulationEventHandler { protected void registerHandlers() { handlerRegistrationList.add(eventBus.addHandler(AppendColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(AppendRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DisableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateInstanceEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(EnableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ImportEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RedoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ReloadTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RunSingleScenarioEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioGridReloadEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioNotificationEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetGridCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetHeaderCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetInstanceHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetPropertyHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UndoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UnsupportedDMNEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ValidateSimulationEvent.TYPE, this)); }  void setEventBus(EventBus eventBus); void setDeletePopupPresenter(DeletePopupPresenter deletePopupPresenter); void setPreserveDeletePopupPresenter(PreserveDeletePopupPresenter preserveDeletePopupPresenter); void setConfirmPopupPresenter(ConfirmPopupPresenter confirmPopupPresenter); void setFileUploadPopupPresenter(FileUploadPopupPresenter fileUploadPopupPresenter); void setNotificationEvent(Event<NotificationEvent> notificationEvent); void setScenarioSimulationPresenter(ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter); void setScenarioCommandRegistryManager(ScenarioCommandRegistryManager scenarioCommandRegistryManager); void setScenarioCommandManager(ScenarioCommandManager scenarioCommandManager); void setContext(ScenarioSimulationContext context); @PreDestroy void unregisterHandlers(); @Override void onEvent(AppendColumnEvent event); @Override void onEvent(AppendRowEvent event); @Override void onEvent(DeleteColumnEvent event); @Override void onEvent(DeleteRowEvent event); @Override void onEvent(DisableTestToolsEvent event); @Override void onEvent(DuplicateInstanceEvent event); @Override void onEvent(DuplicateRowEvent event); @Override void onEvent(EnableTestToolsEvent event); @Override void onEvent(ImportEvent event); @Override void onEvent(InsertColumnEvent event); @Override void onEvent(InsertRowEvent event); @Override void onEvent(PrependColumnEvent event); @Override void onEvent(PrependRowEvent event); @Override void onEvent(RedoEvent event); @Override void onEvent(ReloadTestToolsEvent event); @Override void onEvent(RunSingleScenarioEvent event); @Override void onEvent(ScenarioGridReloadEvent event); @Override void onEvent(ScenarioNotificationEvent event); @Override void onEvent(SetGridCellValueEvent event); @Override void onEvent(SetHeaderCellValueEvent event); @Override void onEvent(SetInstanceHeaderEvent event); @Override void onEvent(SetPropertyHeaderEvent event); @Override void onEvent(UndoEvent event); @Override void onEvent(UnsupportedDMNEvent event); @Override void onEvent(ValidateSimulationEvent event); }
ScenarioSimulationEventHandler implements AppendColumnEventHandler,
                                                       AppendRowEventHandler,
                                                       DeleteColumnEventHandler,
                                                       DeleteRowEventHandler,
                                                       DisableTestToolsEventHandler,
                                                       DuplicateInstanceEventHandler,
                                                       DuplicateRowEventHandler,
                                                       EnableTestToolsEventHandler,
                                                       ImportEventHandler,
                                                       InsertColumnEventHandler,
                                                       InsertRowEventHandler,
                                                       PrependColumnEventHandler,
                                                       PrependRowEventHandler,
                                                       RedoEventHandler,
                                                       ReloadTestToolsEventHandler,
                                                       RunSingleScenarioEventHandler,
                                                       ScenarioGridReloadEventHandler,
                                                       ScenarioNotificationEventHandler,
                                                       SetGridCellValueEventHandler,
                                                       SetHeaderCellValueEventHandler,
                                                       SetInstanceHeaderEventHandler,
                                                       SetPropertyHeaderEventHandler,
                                                       UndoEventHandler,
                                                       UnsupportedDMNEventHandler,
                                                       ValidateSimulationEventHandler { protected void registerHandlers() { handlerRegistrationList.add(eventBus.addHandler(AppendColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(AppendRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DeleteRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DisableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateInstanceEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(DuplicateRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(EnableTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ImportEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(InsertRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependColumnEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(PrependRowEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RedoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ReloadTestToolsEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(RunSingleScenarioEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioGridReloadEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ScenarioNotificationEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetGridCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetHeaderCellValueEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetInstanceHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(SetPropertyHeaderEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UndoEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(UnsupportedDMNEvent.TYPE, this)); handlerRegistrationList.add(eventBus.addHandler(ValidateSimulationEvent.TYPE, this)); }  void setEventBus(EventBus eventBus); void setDeletePopupPresenter(DeletePopupPresenter deletePopupPresenter); void setPreserveDeletePopupPresenter(PreserveDeletePopupPresenter preserveDeletePopupPresenter); void setConfirmPopupPresenter(ConfirmPopupPresenter confirmPopupPresenter); void setFileUploadPopupPresenter(FileUploadPopupPresenter fileUploadPopupPresenter); void setNotificationEvent(Event<NotificationEvent> notificationEvent); void setScenarioSimulationPresenter(ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter); void setScenarioCommandRegistryManager(ScenarioCommandRegistryManager scenarioCommandRegistryManager); void setScenarioCommandManager(ScenarioCommandManager scenarioCommandManager); void setContext(ScenarioSimulationContext context); @PreDestroy void unregisterHandlers(); @Override void onEvent(AppendColumnEvent event); @Override void onEvent(AppendRowEvent event); @Override void onEvent(DeleteColumnEvent event); @Override void onEvent(DeleteRowEvent event); @Override void onEvent(DisableTestToolsEvent event); @Override void onEvent(DuplicateInstanceEvent event); @Override void onEvent(DuplicateRowEvent event); @Override void onEvent(EnableTestToolsEvent event); @Override void onEvent(ImportEvent event); @Override void onEvent(InsertColumnEvent event); @Override void onEvent(InsertRowEvent event); @Override void onEvent(PrependColumnEvent event); @Override void onEvent(PrependRowEvent event); @Override void onEvent(RedoEvent event); @Override void onEvent(ReloadTestToolsEvent event); @Override void onEvent(RunSingleScenarioEvent event); @Override void onEvent(ScenarioGridReloadEvent event); @Override void onEvent(ScenarioNotificationEvent event); @Override void onEvent(SetGridCellValueEvent event); @Override void onEvent(SetHeaderCellValueEvent event); @Override void onEvent(SetInstanceHeaderEvent event); @Override void onEvent(SetPropertyHeaderEvent event); @Override void onEvent(UndoEvent event); @Override void onEvent(UnsupportedDMNEvent event); @Override void onEvent(ValidateSimulationEvent event);  }