@Test public void testOnStartup() { screen.init(); screen.onStartup(); verify(explorer, times(1)).refresh(); screen.getMenus(Assert::assertNotNull); }
@OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); }
DataSourceDefExplorerScreen implements DataSourceDefExplorerScreenView.Presenter { @OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); } }
DataSourceDefExplorerScreen implements DataSourceDefExplorerScreenView.Presenter { @OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); } DataSourceDefExplorerScreen(); @Inject  DataSourceDefExplorerScreen(DataSourceDefExplorerScreenView view,
                                       GlobalDataSourceExplorer globalDataSourceExplorer,
                                       TranslationService translationService); }
DataSourceDefExplorerScreen implements DataSourceDefExplorerScreenView.Presenter { @OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); } DataSourceDefExplorerScreen(); @Inject  DataSourceDefExplorerScreen(DataSourceDefExplorerScreenView view,
                                       GlobalDataSourceExplorer globalDataSourceExplorer,
                                       TranslationService translationService); @PostConstruct void init(); @OnStartup void onStartup(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsElement getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); }
DataSourceDefExplorerScreen implements DataSourceDefExplorerScreenView.Presenter { @OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); } DataSourceDefExplorerScreen(); @Inject  DataSourceDefExplorerScreen(DataSourceDefExplorerScreenView view,
                                       GlobalDataSourceExplorer globalDataSourceExplorer,
                                       TranslationService translationService); @PostConstruct void init(); @OnStartup void onStartup(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsElement getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); static final String SCREEN_ID; }