Package hec.appInterface
Interface ToolBarButtonManager
public interface ToolBarButtonManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the toolBarItem to the current ApplicationModules toolbarbooleancontains(IToolBarButtonItem item) Check to see if the current ApplicationModule has toolBarItem already displayed in its toolbar.voidload()Loads the ToolbarItems from diskvoidRemove the toolBarItem from the current ApplicationModules toolbar.voidResets the toolbar items for this ApplicationModule to the defaults.voidsave()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
-