@Test public void testCancel() { prepareLoadFileSuccessful(); editor.onCancel(); verify(placeManager, times(1)).closePlace(placeRequest); }
@Override public void onCancel() { placeManager.closePlace(place); }
DataSourceDefEditor extends BaseEditor<DataSourceDefEditorContent, Metadata> implements DataSourceDefEditorView.Presenter { @Override public void onCancel() { placeManager.closePlace(place); } }
DataSourceDefEditor extends BaseEditor<DataSourceDefEditorContent, Metadata> implements DataSourceDefEditorView.Presenter { @Override public void onCancel() { placeManager.closePlace(place); } @Inject  DataSourceDefEditor(final DataSourceDefEditorView view,
                               final DataSourceDefMainPanel mainPanel,
                               final DataSourceDefEditorHelper editorHelper,
                               final DatabaseStructureExplorer dbStructureExplorer,
                               final PopupsUtil popupsUtil,
                               final PlaceManager placeManager,
                               final DataSourceDefType type,
                               final SavePopUpPresenter savePopUpPresenter,
                               final DeletePopUpPresenter deletePopUpPresenter,
                               final Caller<DataSourceDefEditorService> editorService,
                               final Caller<DataSourceRuntimeManagerClientService> dataSourceManagerClient); }
DataSourceDefEditor extends BaseEditor<DataSourceDefEditorContent, Metadata> implements DataSourceDefEditorView.Presenter { @Override public void onCancel() { placeManager.closePlace(place); } @Inject  DataSourceDefEditor(final DataSourceDefEditorView view,
                               final DataSourceDefMainPanel mainPanel,
                               final DataSourceDefEditorHelper editorHelper,
                               final DatabaseStructureExplorer dbStructureExplorer,
                               final PopupsUtil popupsUtil,
                               final PlaceManager placeManager,
                               final DataSourceDefType type,
                               final SavePopUpPresenter savePopUpPresenter,
                               final DeletePopUpPresenter deletePopUpPresenter,
                               final Caller<DataSourceDefEditorService> editorService,
                               final Caller<DataSourceRuntimeManagerClientService> dataSourceManagerClient); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartView IsWidget getWidget(); @OnMayClose boolean onMayClose(); @Override boolean mayClose(Integer currentHash); @Override void onSave(); @Override void onCancel(); @Override void onDelete(); Command getLoadDriversSuccessCommand(); ParameterizedCommand<Throwable> getLoadDriversErrorCommand(); @Override void onShowContent(); }
DataSourceDefEditor extends BaseEditor<DataSourceDefEditorContent, Metadata> implements DataSourceDefEditorView.Presenter { @Override public void onCancel() { placeManager.closePlace(place); } @Inject  DataSourceDefEditor(final DataSourceDefEditorView view,
                               final DataSourceDefMainPanel mainPanel,
                               final DataSourceDefEditorHelper editorHelper,
                               final DatabaseStructureExplorer dbStructureExplorer,
                               final PopupsUtil popupsUtil,
                               final PlaceManager placeManager,
                               final DataSourceDefType type,
                               final SavePopUpPresenter savePopUpPresenter,
                               final DeletePopUpPresenter deletePopUpPresenter,
                               final Caller<DataSourceDefEditorService> editorService,
                               final Caller<DataSourceRuntimeManagerClientService> dataSourceManagerClient); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartView IsWidget getWidget(); @OnMayClose boolean onMayClose(); @Override boolean mayClose(Integer currentHash); @Override void onSave(); @Override void onCancel(); @Override void onDelete(); Command getLoadDriversSuccessCommand(); ParameterizedCommand<Throwable> getLoadDriversErrorCommand(); @Override void onShowContent();  }