test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      ContentExplorerScreen.View view;
test_class.type: ContentExplorerScreen.View
test_class.var_name: view
test_class.declarator: navigationManager
test_class.modifier: @Mock
test_class.original_string: @Mock
      NavigationManager navigationManager;
test_class.type: NavigationManager
test_class.var_name: navigationManager
test_class.declarator: perspectivesExplorer
test_class.modifier: @Mock
test_class.original_string: @Mock
      PerspectivesExplorer perspectivesExplorer;
test_class.type: PerspectivesExplorer
test_class.var_name: perspectivesExplorer
test_class.declarator: navTreeEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      NavTreeEditor navTreeEditor;
test_class.type: NavTreeEditor
test_class.var_name: navTreeEditor
test_class.declarator: navItemEditorSettings
test_class.modifier: @Mock
test_class.original_string: @Mock
      NavItemEditorSettings navItemEditorSettings;
test_class.type: NavItemEditorSettings
test_class.var_name: navItemEditorSettings
test_class.declarator: notificationEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      EventSourceMock<NotificationEvent> notificationEvent;
test_class.type: EventSourceMock<NotificationEvent>
test_class.var_name: notificationEvent
test_class.declarator: i18n
test_class.modifier: @Mock
test_class.original_string: @Mock
      ContentManagerI18n i18n;
test_class.type: ContentManagerI18n
test_class.var_name: i18n
test_class.declarator: navTree
test_class.modifier: @Mock
test_class.original_string: @Mock
      NavTree navTree;
test_class.type: NavTree
test_class.var_name: navTree
test_class.declarator: contentExplorerScreen
test_class.original_string: ContentExplorerScreen contentExplorerScreen;
test_class.type: ContentExplorerScreen
test_class.var_name: contentExplorerScreen
test_class.file: dashbuilder-client/dashbuilder-cms-client/src/test/java/org/dashbuilder/client/cms/screen/explorer/ContentExplorerScreenTest.java
test_class.identifier: ContentExplorerScreenTest
test_case.body: @Test
      public void testInitNoTreeAvailable() {
          contentExplorerScreen.init();
  
          verify(view).show(perspectivesExplorer, navTreeEditor);
          verify(navTreeEditor, never()).edit(any(NavTree.class));
      }
test_case.class_method_signature: ContentExplorerScreenTest.testInitNoTreeAvailable()
test_case.full_signature: @Test public void testInitNoTreeAvailable()
test_case.identifier: testInitNoTreeAvailable
test_case.invocations: init show verify edit verify never any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInitNoTreeAvailable()
focal_class.declarator: SCREEN_ID = "ContentExplorerScreen"
focal_class.modifier: public static final
focal_class.original_string: public static final String SCREEN_ID = "ContentExplorerScreen";
focal_class.type: String
focal_class.var_name: SCREEN_ID
focal_class.declarator: view
focal_class.original_string: View view;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: navigationManager
focal_class.original_string: NavigationManager navigationManager;
focal_class.type: NavigationManager
focal_class.var_name: navigationManager
focal_class.declarator: perspectiveExplorer
focal_class.original_string: PerspectivesExplorer perspectiveExplorer;
focal_class.type: PerspectivesExplorer
focal_class.var_name: perspectiveExplorer
focal_class.declarator: navTreeEditor
focal_class.original_string: NavTreeEditor navTreeEditor;
focal_class.type: NavTreeEditor
focal_class.var_name: navTreeEditor
focal_class.declarator: i18n
focal_class.original_string: ContentManagerI18n i18n;
focal_class.type: ContentManagerI18n
focal_class.var_name: i18n
focal_class.declarator: workbenchNotification
focal_class.original_string: Event<NotificationEvent> workbenchNotification;
focal_class.type: Event<NotificationEvent>
focal_class.var_name: workbenchNotification
focal_class.file: dashbuilder-client/dashbuilder-cms-client/src/main/java/org/dashbuilder/client/cms/screen/explorer/ContentExplorerScreen.java
focal_class.identifier: ContentExplorerScreen
focal_class.class_method_signature: ContentExplorerScreen.ContentExplorerScreen()
focal_class.full_signature: public  ContentExplorerScreen()
focal_class.identifier: ContentExplorerScreen
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ContentExplorerScreen()
focal_class.class_method_signature: ContentExplorerScreen.ContentExplorerScreen(View view,
                                   NavigationManager navigationManager,
                                   PerspectivesExplorer perspectiveExplorer,
                                   NavTreeEditor navTreeEditor,
                                   ContentManagerI18n i18n,
                                   Event<NotificationEvent> workbenchNotification)
focal_class.full_signature: @Inject public  ContentExplorerScreen(View view,
                                   NavigationManager navigationManager,
                                   PerspectivesExplorer perspectiveExplorer,
                                   NavTreeEditor navTreeEditor,
                                   ContentManagerI18n i18n,
                                   Event<NotificationEvent> workbenchNotification)
focal_class.identifier: ContentExplorerScreen
focal_class.modifiers: @Inject public
focal_class.parameters: (View view,
                                   NavigationManager navigationManager,
                                   PerspectivesExplorer perspectiveExplorer,
                                   NavTreeEditor navTreeEditor,
                                   ContentManagerI18n i18n,
                                   Event<NotificationEvent> workbenchNotification)
focal_class.signature:  ContentExplorerScreen(View view,
                                   NavigationManager navigationManager,
                                   PerspectivesExplorer perspectiveExplorer,
                                   NavTreeEditor navTreeEditor,
                                   ContentManagerI18n i18n,
                                   Event<NotificationEvent> workbenchNotification)
focal_class.class_method_signature: ContentExplorerScreen.init()
focal_class.full_signature: @PostConstruct void init()
focal_class.identifier: init
focal_class.modifiers: @PostConstruct
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: ContentExplorerScreen.getTitle()
focal_class.full_signature: @WorkbenchPartTitle public String getTitle()
focal_class.identifier: getTitle
focal_class.modifiers: @WorkbenchPartTitle public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTitle()
focal_class.class_method_signature: ContentExplorerScreen.getWidget()
focal_class.full_signature: @WorkbenchPartView public IsWidget getWidget()
focal_class.identifier: getWidget
focal_class.modifiers: @WorkbenchPartView public
focal_class.parameters: ()
focal_class.return: IsWidget
focal_class.signature: IsWidget getWidget()
focal_class.class_method_signature: ContentExplorerScreen.getNavTreeEditor()
focal_class.full_signature: public NavTreeEditor getNavTreeEditor()
focal_class.identifier: getNavTreeEditor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: NavTreeEditor
focal_class.signature: NavTreeEditor getNavTreeEditor()
focal_class.class_method_signature: ContentExplorerScreen.createNewPerspective()
focal_class.full_signature: public void createNewPerspective()
focal_class.identifier: createNewPerspective
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void createNewPerspective()
focal_class.class_method_signature: ContentExplorerScreen.onPerspectivesExpanded()
focal_class.full_signature:  void onPerspectivesExpanded()
focal_class.identifier: onPerspectivesExpanded
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onPerspectivesExpanded()
focal_class.class_method_signature: ContentExplorerScreen.onNavTreeExpanded()
focal_class.full_signature:  void onNavTreeExpanded()
focal_class.identifier: onNavTreeExpanded
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onNavTreeExpanded()
focal_class.class_method_signature: ContentExplorerScreen.onNavTreeLoaded(@Observes NavTreeLoadedEvent event)
focal_class.full_signature:  void onNavTreeLoaded(@Observes NavTreeLoadedEvent event)
focal_class.identifier: onNavTreeLoaded
focal_class.parameters: (@Observes NavTreeLoadedEvent event)
focal_class.return: void
focal_class.signature: void onNavTreeLoaded(@Observes NavTreeLoadedEvent event)
focal_class.class_method_signature: ContentExplorerScreen.onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event)
focal_class.full_signature:  void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event)
focal_class.identifier: onPerspectivesChanged
focal_class.parameters: (@Observes PerspectivePluginsChangedEvent event)
focal_class.return: void
focal_class.signature: void onPerspectivesChanged(@Observes PerspectivePluginsChangedEvent event)
focal_class.class_method_signature: ContentExplorerScreen.onNavTreeSaved()
focal_class.full_signature:  void onNavTreeSaved()
focal_class.identifier: onNavTreeSaved
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onNavTreeSaved()
focal_class.class_method_signature: ContentExplorerScreen.onAuthzPolicyChanged(@Observes final AuthorizationPolicySavedEvent event)
focal_class.full_signature:  void onAuthzPolicyChanged(@Observes final AuthorizationPolicySavedEvent event)
focal_class.identifier: onAuthzPolicyChanged
focal_class.parameters: (@Observes final AuthorizationPolicySavedEvent event)
focal_class.return: void
focal_class.signature: void onAuthzPolicyChanged(@Observes final AuthorizationPolicySavedEvent event)
focal_method.body: @PostConstruct
      void init() {
          perspectiveExplorer.setOnExpandCommand(this::onPerspectivesExpanded);
          perspectiveExplorer.show();
  
          navTreeEditor.setOnExpandCommand(this::onNavTreeExpanded);
          navTreeEditor.setOnSaveCommand(this::onNavTreeSaved);
          navTreeEditor.getSettings().setLiteralPerspective(i18n.capitalizeFirst(i18n.getPerspectiveResourceName()));
          navTreeEditor.getSettings().setGotoPerspectiveEnabled(true);
  
          if (navTreeEditor.getNavTree() == null && navigationManager.getNavTree() != null) {
              navTreeEditor.edit(navigationManager.getNavTree());
          }
          view.show(perspectiveExplorer, navTreeEditor);
      }
focal_method.class_method_signature: ContentExplorerScreen.init()
focal_method.full_signature: @PostConstruct void init()
focal_method.identifier: init
focal_method.invocations: setOnExpandCommand show setOnExpandCommand setOnSaveCommand setLiteralPerspective getSettings capitalizeFirst getPerspectiveResourceName setGotoPerspectiveEnabled getSettings getNavTree getNavTree edit getNavTree show
focal_method.modifiers: @PostConstruct
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void init()