Class MainKFPerspectiveToolBar

    • Field Detail

      • ICON_PATH

        public static String ICON_PATH
        Path to the icons for the toolbar
    • Constructor Detail

      • MainKFPerspectiveToolBar

        public MainKFPerspectiveToolBar​(MainKFPerspective mainKFPerspective)
        Constructor
        Parameters:
        mainKFPerspective - the main knowledge flow perspective
    • Method Detail

      • enableWidget

        public void enableWidget​(String widgetName,
                                 boolean enable)
        Enable/disable a named widget
        Parameters:
        widgetName - the name of the widget to enable/disable
        enable - true if the widget should be enabled; false otherwise
      • enableWidgets

        public void enableWidgets​(String... widgetNames)
      • disableWidgets

        public void disableWidgets​(String... widgetNames)
      • getMenus

        public List<JMenu> getMenus()
        Get the list of menus
        Returns:
        a list of JMenus