GuidedDecisionTableEditorPresenter extends BaseGuidedDecisionTableEditorPresenter implements HasSearchableElements<GuidedDecisionTableSearchableElement> { @Override public void onOpenDocumentsInEditor(final List<Path> selectedDocumentPaths) { throw new UnsupportedOperationException(); } @Inject  GuidedDecisionTableEditorPresenter(final View view,
                                              final Caller<GuidedDecisionTableEditorService> service,
                                              final AuthoringWorkbenchDocks docks,
                                              final PerspectiveManager perspectiveManager,
                                              final Event<NotificationEvent> notification,
                                              final Event<DecisionTableSelectedEvent> decisionTableSelectedEvent,
                                              final GuidedDecisionTableDocksHandler guidedDecisionTableDocksHandler,
                                              final AnalysisReportScreen analysisReportScreen,
                                              final ValidationPopup validationPopup,
                                              final GuidedDTableResourceType resourceType,
                                              final EditMenuBuilder editMenuBuilder,
                                              final ViewMenuBuilder viewMenuBuilder,
                                              final InsertMenuBuilder insertMenuBuilder,
                                              final RadarMenuBuilder radarMenuBuilder,
                                              final GuidedDecisionTableModellerView.Presenter modeller,
                                              final SyncBeanManager beanManager,
                                              final PlaceManager placeManager,
                                              final ColumnsPage columnsPage,
                                              final SaveAndRenameCommandBuilder<GuidedDecisionTable52, Metadata> saveAndRenameCommandBuilder,
                                              final AlertsButtonMenuItemBuilder alertsButtonMenuItemBuilder,
                                              final DownloadMenuItemBuilder downloadMenuItemBuilder,
                                              final GuidedDecisionTableEditorSearchIndex editorSearchIndex,
                                              final SearchBarComponent<GuidedDecisionTableSearchableElement> searchBarComponent,
                                              final SearchableElementFactory searchableElementFactory,
                                              final Event<SearchPerformedEvent> searchPerformedEvent); @Override @PostConstruct void init(); @Override @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest placeRequest); @Override @OnFocus void onFocus(); @Override void loadDocument(final ObservablePath path,
                             final PlaceRequest placeRequest); @Override List<GuidedDecisionTableSearchableElement> getSearchableElements(); @Override @WorkbenchPartTitle String getTitleText(); @Override @WorkbenchPartView IsWidget getWidget(); @Override @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @Override @OnMayClose boolean mayClose(); @Override @OnClose void onClose(); @Override Promise<Void> makeMenuBar(); void onConvert(); @Override void onOpenDocumentsInEditor(final List<Path> selectedDocumentPaths); @Override void getAvailableDocumentPaths(final Callback<List<Path>> callback); @Override void removeDocument(GuidedDecisionTableView.Presenter dtPresenter); static final String IDENTIFIER; }
@Test public void checkOnOpenDocumentsInEditor() { exception.expect(UnsupportedOperationException.class); presenter.onOpenDocumentsInEditor(Collections.<Path>emptyList()); }