@Test public void testOnPerspectivesChanged() { contentExplorerScreen.init(); contentExplorerScreen.onPerspectivesChanged(new PerspectivePluginsChangedEvent()); verify(navTreeEditor).edit(any(NavTree.class)); }
void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event) { NavTree navTree = navigationManager.getNavTree(); navTreeEditor.edit(navTree); }
ContentExplorerScreen { void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event) { NavTree navTree = navigationManager.getNavTree(); navTreeEditor.edit(navTree); } }
ContentExplorerScreen { void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event) { NavTree navTree = navigationManager.getNavTree(); navTreeEditor.edit(navTree); } ContentExplorerScreen(); @Inject  ContentExplorerScreen(View view,
                                 NavigationManager navigationManager,
                                 PerspectivesExplorer perspectiveExplorer,
                                 NavTreeEditor navTreeEditor,
                                 ContentManagerI18n i18n,
                                 Event<NotificationEvent> workbenchNotification); }
ContentExplorerScreen { void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event) { NavTree navTree = navigationManager.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 onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event) { NavTree navTree = navigationManager.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; }