@Test public void getCurrentRightDockPlaceRequest() { PlaceRequest placeRequest = abstractScenarioSimulationDocksHandlerSpy.getCurrentRightDockPlaceRequest("identifier"); assertNotNull(placeRequest); assertEquals("identifier", placeRequest.getIdentifier()); assertNotNull(placeRequest.getParameter(SCESIMEDITOR_ID, "")); }
protected PlaceRequest getCurrentRightDockPlaceRequest(String identifier) { PlaceRequest toReturn = new DefaultPlaceRequest(identifier); toReturn.addParameter(SCESIMEDITOR_ID, String.valueOf(currentScesimEditorId)); return toReturn; }
AbstractScenarioSimulationDocksHandler extends AbstractWorkbenchDocksHandler { protected PlaceRequest getCurrentRightDockPlaceRequest(String identifier) { PlaceRequest toReturn = new DefaultPlaceRequest(identifier); toReturn.addParameter(SCESIMEDITOR_ID, String.valueOf(currentScesimEditorId)); return toReturn; } }
AbstractScenarioSimulationDocksHandler extends AbstractWorkbenchDocksHandler { protected PlaceRequest getCurrentRightDockPlaceRequest(String identifier) { PlaceRequest toReturn = new DefaultPlaceRequest(identifier); toReturn.addParameter(SCESIMEDITOR_ID, String.valueOf(currentScesimEditorId)); return toReturn; }  }
AbstractScenarioSimulationDocksHandler extends AbstractWorkbenchDocksHandler { protected PlaceRequest getCurrentRightDockPlaceRequest(String identifier) { PlaceRequest toReturn = new DefaultPlaceRequest(identifier); toReturn.addParameter(SCESIMEDITOR_ID, String.valueOf(currentScesimEditorId)); return toReturn; }  @Override Collection<UberfireDock> provideDocks(final String perspectiveIdentifier); void addDocks(); void removeDocks(); void expandToolsDock(); abstract void expandTestResultsDock(); void resetDocks(); void setScesimEditorId(String scesimEditorId); Optional<CheatSheetView.Presenter> getCheatSheetPresenter(); Optional<TestToolsView.Presenter> getTestToolsPresenter(); Optional<SettingsView.Presenter> getSettingsPresenter(); }
AbstractScenarioSimulationDocksHandler extends AbstractWorkbenchDocksHandler { protected PlaceRequest getCurrentRightDockPlaceRequest(String identifier) { PlaceRequest toReturn = new DefaultPlaceRequest(identifier); toReturn.addParameter(SCESIMEDITOR_ID, String.valueOf(currentScesimEditorId)); return toReturn; }  @Override Collection<UberfireDock> provideDocks(final String perspectiveIdentifier); void addDocks(); void removeDocks(); void expandToolsDock(); abstract void expandTestResultsDock(); void resetDocks(); void setScesimEditorId(String scesimEditorId); Optional<CheatSheetView.Presenter> getCheatSheetPresenter(); Optional<TestToolsView.Presenter> getTestToolsPresenter(); Optional<SettingsView.Presenter> getSettingsPresenter(); static final String SCESIMEDITOR_ID; }