@Test public void onClose() { presenter.onClose(); verify(view, times(1)).clear(); verify(presenter, times(1)).releaseDecisionTables(); verify(presenter, times(1)).releaseHandlerRegistrations(); }
@Override public void onClose() { view.clear(); releaseDecisionTables(); releaseHandlerRegistrations(); }
GuidedDecisionTableModellerPresenter implements GuidedDecisionTableModellerView.Presenter { @Override public void onClose() { view.clear(); releaseDecisionTables(); releaseHandlerRegistrations(); } }
GuidedDecisionTableModellerPresenter implements GuidedDecisionTableModellerView.Presenter { @Override public void onClose() { view.clear(); releaseDecisionTables(); releaseHandlerRegistrations(); } @Inject  GuidedDecisionTableModellerPresenter(final GuidedDecisionTableModellerView view,
                                                final ManagedInstance<GuidedDecisionTableView.Presenter> dtPresenterProvider,
                                                final GuidedDecisionTableModellerContextMenuSupport contextMenuSupport,
                                                final Event<RadarMenuBuilder.UpdateRadarEvent> updateRadarEvent,
                                                final Event<DecisionTablePinnedEvent> pinnedEvent,
                                                final ColumnHeaderPopOver columnHeaderPopOver); }
GuidedDecisionTableModellerPresenter implements GuidedDecisionTableModellerView.Presenter { @Override public void onClose() { view.clear(); releaseDecisionTables(); releaseHandlerRegistrations(); } @Inject  GuidedDecisionTableModellerPresenter(final GuidedDecisionTableModellerView view,
                                                final ManagedInstance<GuidedDecisionTableView.Presenter> dtPresenterProvider,
                                                final GuidedDecisionTableModellerContextMenuSupport contextMenuSupport,
                                                final Event<RadarMenuBuilder.UpdateRadarEvent> updateRadarEvent,
                                                final Event<DecisionTablePinnedEvent> pinnedEvent,
                                                final ColumnHeaderPopOver columnHeaderPopOver); @Override void onClose(); @Override void releaseDecisionTables(); @Override void releaseHandlerRegistrations(); @Override GuidedDecisionTableView.Presenter addDecisionTable(final ObservablePath path,
                                                              final PlaceRequest placeRequest,
                                                              final GuidedDecisionTableEditorContent content,
                                                              final boolean isReadOnly,
                                                              final Double x,
                                                              final Double y); @Override GuidedDecisionTableView.Presenter refreshDecisionTable(final GuidedDecisionTableView.Presenter dtPresenter,
                                                                  final ObservablePath path,
                                                                  final PlaceRequest placeRequest,
                                                                  final GuidedDecisionTableEditorContent content,
                                                                  final boolean isReadOnly); @Override void removeDecisionTable(final GuidedDecisionTableView.Presenter dtPresenter); @Override Optional<GuidedDecisionTableView.Presenter> getActiveDecisionTable(); @Override Set<GuidedDecisionTableView.Presenter> getAvailableDecisionTables(); @Override boolean isDecisionTableAvailable(final GuidedDecisionTableView.Presenter dtPresenter); @Override boolean isActiveDecisionTableEditable(); @Override GuidedDecisionTableModellerView getView(); @Override void setZoom(final int zoom); @Override void enterPinnedMode(final GridWidget gridWidget,
                                final Command onStartCommand); @Override void exitPinnedMode(final Command onCompleteCommand); @Override void updatePinnedContext(final GridWidget gridWidget); @Override PinnedContext getPinnedContext(); @Override boolean isGridPinned(); @Override TransformMediator getDefaultTransformMediator(); @Override void addOnEnterPinnedModeCommand(final Command command); @Override void addOnExitPinnedModeCommand(final Command command); @Override void onDecisionTableSelected(final @Observes DecisionTableSelectedEvent event); @Override void onDecisionTableLinkedColumnSelected(final @Observes DecisionTableColumnSelectedEvent event); @Override void updateRadar(); @Override void onViewPinned(final boolean isPinned); @Override void refreshScrollPosition(); @Override void updateLinks(); @Override void analysisReportScreen(final AnalysisReportScreen analysisReportScreen); }
GuidedDecisionTableModellerPresenter implements GuidedDecisionTableModellerView.Presenter { @Override public void onClose() { view.clear(); releaseDecisionTables(); releaseHandlerRegistrations(); } @Inject  GuidedDecisionTableModellerPresenter(final GuidedDecisionTableModellerView view,
                                                final ManagedInstance<GuidedDecisionTableView.Presenter> dtPresenterProvider,
                                                final GuidedDecisionTableModellerContextMenuSupport contextMenuSupport,
                                                final Event<RadarMenuBuilder.UpdateRadarEvent> updateRadarEvent,
                                                final Event<DecisionTablePinnedEvent> pinnedEvent,
                                                final ColumnHeaderPopOver columnHeaderPopOver); @Override void onClose(); @Override void releaseDecisionTables(); @Override void releaseHandlerRegistrations(); @Override GuidedDecisionTableView.Presenter addDecisionTable(final ObservablePath path,
                                                              final PlaceRequest placeRequest,
                                                              final GuidedDecisionTableEditorContent content,
                                                              final boolean isReadOnly,
                                                              final Double x,
                                                              final Double y); @Override GuidedDecisionTableView.Presenter refreshDecisionTable(final GuidedDecisionTableView.Presenter dtPresenter,
                                                                  final ObservablePath path,
                                                                  final PlaceRequest placeRequest,
                                                                  final GuidedDecisionTableEditorContent content,
                                                                  final boolean isReadOnly); @Override void removeDecisionTable(final GuidedDecisionTableView.Presenter dtPresenter); @Override Optional<GuidedDecisionTableView.Presenter> getActiveDecisionTable(); @Override Set<GuidedDecisionTableView.Presenter> getAvailableDecisionTables(); @Override boolean isDecisionTableAvailable(final GuidedDecisionTableView.Presenter dtPresenter); @Override boolean isActiveDecisionTableEditable(); @Override GuidedDecisionTableModellerView getView(); @Override void setZoom(final int zoom); @Override void enterPinnedMode(final GridWidget gridWidget,
                                final Command onStartCommand); @Override void exitPinnedMode(final Command onCompleteCommand); @Override void updatePinnedContext(final GridWidget gridWidget); @Override PinnedContext getPinnedContext(); @Override boolean isGridPinned(); @Override TransformMediator getDefaultTransformMediator(); @Override void addOnEnterPinnedModeCommand(final Command command); @Override void addOnExitPinnedModeCommand(final Command command); @Override void onDecisionTableSelected(final @Observes DecisionTableSelectedEvent event); @Override void onDecisionTableLinkedColumnSelected(final @Observes DecisionTableColumnSelectedEvent event); @Override void updateRadar(); @Override void onViewPinned(final boolean isPinned); @Override void refreshScrollPosition(); @Override void updateLinks(); @Override void analysisReportScreen(final AnalysisReportScreen analysisReportScreen);  }