Class ToolBarManager


  • public class ToolBarManager
    extends java.lang.Object
    The "Tool Bar Manager" tool, which allows a user to add, remove, and get custom toolbars.
    • Constructor Detail

      • ToolBarManager

        public ToolBarManager()
    • Method Detail

      • addToolBar

        public boolean addToolBar​(JavaTestToolBar theBar,
                                  java.lang.String toolBarID)
        Adds specified toolbar.
        Parameters:
        theBar - the tool bar which should be added to the TestManager, can't be null
        toolBarID - unique string ID of theBar, can't be null or empty
        Returns:
        true if the bar was successfully added
      • getToolBar

        public JavaTestToolBar getToolBar​(java.lang.String toolBarID)
        Finds toolbar by ID and returns it.
        Parameters:
        toolBarID - unique string ID of theBar, can't be null or empty
        Returns:
        the toolbar object, or null if the manager contains no tool bar for this key.
      • getToolBars

        public JavaTestToolBar[] getToolBars()
        Returns an array of currently registered toolbars.
        Returns:
        array of currently registered toolbars