Package hec.appInterface
Interface ToolBarButtonManager
public interface ToolBarButtonManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the toolBarItem to the current ApplicationModules toolbarboolean
contains
(IToolBarButtonItem item) Check to see if the current ApplicationModule has toolBarItem already displayed in its toolbar.void
load()
Loads the ToolbarItems from diskvoid
Remove the toolBarItem from the current ApplicationModules toolbar.void
Resets the toolbar items for this ApplicationModule to the defaults.void
save()
Save the contents of the ToolBarButtonManager to disk.
-
Method Details
-
addToolBarButton
Add the toolBarItem to the current ApplicationModules toolbar- Parameters:
item
- The feature to be added to the ToolBarButton attribute
-
resetDefaultToolbars
void resetDefaultToolbars()Resets the toolbar items for this ApplicationModule to the defaults. -
removeToolBarButton
Remove the toolBarItem from the current ApplicationModules toolbar.- Parameters:
item
- Description
-
contains
Check to see if the current ApplicationModule has toolBarItem already displayed in its toolbar.- Parameters:
item
- Description- Returns:
- Description
-
save
void save()Save the contents of the ToolBarButtonManager to disk. -
load
void load()Loads the ToolbarItems from disk
-