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 java.lang.String GROUP_BIG
           
static java.lang.String GROUP_MAIN
           
 
Method Summary
 void addToolBarItem(UIToolBarItem item)
          Adds a UIToolBarItem to the UI.
 UIToolBarItem createToolBarItem(java.lang.String id)
          Create a new UIToolBarItem.
 UIToolBarItem[] getAllToolBarItems()
           
 UIToolBarItem getToolBarItem(java.lang.String id)
           
 void removeToolBarItem(java.lang.String id)
           
 

Field Detail

GROUP_BIG

static final java.lang.String GROUP_BIG
See Also:
Constant Field Values

GROUP_MAIN

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

createToolBarItem

UIToolBarItem createToolBarItem(java.lang.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(java.lang.String id)

getAllToolBarItems

UIToolBarItem[] getAllToolBarItems()

removeToolBarItem

void removeToolBarItem(java.lang.String id)