@Test public void testHideDocksNoContext() { presenter.hideDocks(); verify(docks).hide(); verify(dataModelerFocusEvent, never()).fire(any()); }
@Override public void hideDocks() { super.hideDocks(); if (context != null) { dataModelerFocusEvent.fire(new DataModelerWorkbenchFocusEvent().lostFocus()); } }
DataModelerScreenPresenter extends KieEditor<String> { @Override public void hideDocks() { super.hideDocks(); if (context != null) { dataModelerFocusEvent.fire(new DataModelerWorkbenchFocusEvent().lostFocus()); } } }
DataModelerScreenPresenter extends KieEditor<String> { @Override public void hideDocks() { super.hideDocks(); if (context != null) { dataModelerFocusEvent.fire(new DataModelerWorkbenchFocusEvent().lostFocus()); } } @Inject  DataModelerScreenPresenter(DataModelerScreenView baseView,
                                      SessionInfo sessionInfo); }
DataModelerScreenPresenter extends KieEditor<String> { @Override public void hideDocks() { super.hideDocks(); if (context != null) { dataModelerFocusEvent.fire(new DataModelerWorkbenchFocusEvent().lostFocus()); } } @Inject  DataModelerScreenPresenter(DataModelerScreenView baseView,
                                      SessionInfo sessionInfo); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartView IsWidget getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @OnFocus void onFocus(); @Override void showDocks(); @Override void hideDocks(); @OnMayClose boolean onMayClose(); @OnClose @Override void onClose(); void onSafeDelete(); void onSafeRename(); DataModel getDataModel(); String getSource(); void setSource(String source); @Override void onSourceTabSelected(); @Override void onOverviewSelected(); @Override void onEditTabSelected(); }
DataModelerScreenPresenter extends KieEditor<String> { @Override public void hideDocks() { super.hideDocks(); if (context != null) { dataModelerFocusEvent.fire(new DataModelerWorkbenchFocusEvent().lostFocus()); } } @Inject  DataModelerScreenPresenter(DataModelerScreenView baseView,
                                      SessionInfo sessionInfo); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartView IsWidget getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @OnFocus void onFocus(); @Override void showDocks(); @Override void hideDocks(); @OnMayClose boolean onMayClose(); @OnClose @Override void onClose(); void onSafeDelete(); void onSafeRename(); DataModel getDataModel(); String getSource(); void setSource(String source); @Override void onSourceTabSelected(); @Override void onOverviewSelected(); @Override void onEditTabSelected(); static final String EDITOR_ID; }