@Test public void testOnNavTreeLoaded() { contentExplorerScreen.init(); contentExplorerScreen.onNavTreeLoaded(new NavTreeLoadedEvent(navTree)); verify(navTreeEditor).edit(navTree); }
void onNavTreeLoaded(@Observes NavTreeLoadedEvent event) { NavTree navTree = event.getNavTree(); navTreeEditor.edit(navTree); }
ContentExplorerScreen { void onNavTreeLoaded(@Observes NavTreeLoadedEvent event) { NavTree navTree = event.getNavTree(); navTreeEditor.edit(navTree); } }
ContentExplorerScreen { void onNavTreeLoaded(@Observes NavTreeLoadedEvent event) { NavTree navTree = event.getNavTree(); navTreeEditor.edit(navTree); } ContentExplorerScreen(); @Inject  ContentExplorerScreen(View view,
                                 NavigationManager navigationManager,
                                 PerspectivesExplorer perspectiveExplorer,
                                 NavTreeEditor navTreeEditor,
                                 ContentManagerI18n i18n,
                                 Event<NotificationEvent> workbenchNotification); }
ContentExplorerScreen { void onNavTreeLoaded(@Observes NavTreeLoadedEvent event) { NavTree navTree = event.getNavTree(); navTreeEditor.edit(navTree); } ContentExplorerScreen(); @Inject  ContentExplorerScreen(View view,
                                 NavigationManager navigationManager,
                                 PerspectivesExplorer perspectiveExplorer,
                                 NavTreeEditor navTreeEditor,
                                 ContentManagerI18n i18n,
                                 Event<NotificationEvent> workbenchNotification); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsWidget getWidget(); NavTreeEditor getNavTreeEditor(); void createNewPerspective(); }
ContentExplorerScreen { void onNavTreeLoaded(@Observes NavTreeLoadedEvent event) { NavTree navTree = event.getNavTree(); navTreeEditor.edit(navTree); } ContentExplorerScreen(); @Inject  ContentExplorerScreen(View view,
                                 NavigationManager navigationManager,
                                 PerspectivesExplorer perspectiveExplorer,
                                 NavTreeEditor navTreeEditor,
                                 ContentManagerI18n i18n,
                                 Event<NotificationEvent> workbenchNotification); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsWidget getWidget(); NavTreeEditor getNavTreeEditor(); void createNewPerspective(); static final String SCREEN_ID; }