@Test public void testManageLeftClick_ReadOnly() { when(informationHeaderMetaDataMock.isReadOnly()).thenReturn(true); scenarioSimulationMainGridPanelClickHandler.setEventBus(eventBusMock); assertTrue("Click to readonly header cell.", scenarioSimulationMainGridPanelClickHandler.manageCoordinates((int) CLICK_POINT_X, (int) CLICK_POINT_Y)); verify(scenarioGridMock, times(1)).setSelectedColumn(anyInt()); verify(eventBusMock, times(1)).fireEvent(any(EnableTestToolsEvent.class)); }
@Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; }
ScenarioSimulationMainGridPanelClickHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelClickHandler { @Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; } }
ScenarioSimulationMainGridPanelClickHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelClickHandler { @Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; }  }
ScenarioSimulationMainGridPanelClickHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelClickHandler { @Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; }  void setScenarioContextMenuRegistry(ScenarioContextMenuRegistry scenarioContextMenuRegistry); @Override void setEventBus(EventBus eventBus); @Override void onClick(ClickEvent event); @Override @SuppressWarnings("unchecked") void onContextMenu(final ContextMenuEvent event); @Override void hideMenus(); }
ScenarioSimulationMainGridPanelClickHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelClickHandler { @Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; }  void setScenarioContextMenuRegistry(ScenarioContextMenuRegistry scenarioContextMenuRegistry); @Override void setEventBus(EventBus eventBus); @Override void onClick(ClickEvent event); @Override @SuppressWarnings("unchecked") void onContextMenu(final ContextMenuEvent event); @Override void hideMenus();  }