org.gudy.azureus2.plugins.ui.toolbar
Interface UIToolBarManager

All Known Subinterfaces:
UIToolBarManagerCore
All Known Implementing Classes:
UISWTInstanceImpl.instanceWrapper, UIToolBarManagerImpl

public interface UIToolBarManager


Field Summary
static String GROUP_BIG
           
static String GROUP_MAIN
           
 
Method Summary
 void addToolBarItem(UIToolBarItem item)
          Adds a UIToolBarItem to the UI.
 UIToolBarItem createToolBarItem(String id)
          Create a new UIToolBarItem.
 UIToolBarItem[] getAllToolBarItems()
           
 UIToolBarItem getToolBarItem(String id)
           
 void removeToolBarItem(String id)
           
 

Field Detail

GROUP_BIG

static final String GROUP_BIG
See Also:
Constant Field Values

GROUP_MAIN

static final String GROUP_MAIN
See Also:
Constant Field Values
Method Detail

createToolBarItem

UIToolBarItem createToolBarItem(String id)
Create a new UIToolBarItem. You will still need to add it via addToolBarItem(UIToolBarItem), after setting the item's properties

Parameters:
id - unique id
Returns:
newly created toolbar

addToolBarItem

void addToolBarItem(UIToolBarItem item)
Adds a UIToolBarItem to the UI. Make sure you at least set the icon before adding

Parameters:
item -

getToolBarItem

UIToolBarItem getToolBarItem(String id)

getAllToolBarItems

UIToolBarItem[] getAllToolBarItems()

removeToolBarItem

void removeToolBarItem(String id)