org.gudy.azureus2.ui.swt.pluginsimpl
Class UIToolBarManagerImpl
java.lang.Object
  
org.gudy.azureus2.ui.swt.pluginsimpl.UIToolBarManagerImpl
- All Implemented Interfaces: 
 - UIToolBarManager, UIToolBarManagerCore
 
public class UIToolBarManagerImpl
- extends Object
- implements UIToolBarManagerCore
  
- Author:
 
  - TuxPaper
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
listListeners
public List<UIToolBarManagerImpl.ToolBarManagerListener> listListeners
UIToolBarManagerImpl
public UIToolBarManagerImpl()
getInstance
public static UIToolBarManager getInstance()
 
 
addListener
public void addListener(UIToolBarManagerImpl.ToolBarManagerListener l)
- Specified by:
 addListener in interface UIToolBarManagerCore
 
 
removeListener
public void removeListener(UIToolBarManagerImpl.ToolBarManagerListener l)
- Specified by:
 removeListener in interface UIToolBarManagerCore
 
 
getToolBarItem
public UIToolBarItem getToolBarItem(String itemID)
- Specified by:
 getToolBarItem in interface UIToolBarManager
 
 
getAllToolBarItems
public UIToolBarItem[] getAllToolBarItems()
- Specified by:
 getAllToolBarItems in interface UIToolBarManager
 
 
getAllSWTToolBarItems
public ToolBarItem[] getAllSWTToolBarItems()
- Specified by:
 getAllSWTToolBarItems in interface UIToolBarManagerCore
 
 
createToolBarItem
public UIToolBarItem createToolBarItem(String id)
- Description copied from interface: 
UIToolBarManager 
- Create a new 
UIToolBarItem.  You will still need to add it
 via UIToolBarManager.addToolBarItem(UIToolBarItem), after setting the item's
 properties
- Specified by:
 createToolBarItem in interface UIToolBarManager
 
- Parameters:
 id - unique id
- Returns:
 - newly created toolbar
 
 
 
addToolBarItem
public void addToolBarItem(UIToolBarItem item)
- Description copied from interface: 
UIToolBarManager 
- Adds a 
UIToolBarItem to the UI.  Make sure you at least set the
 icon before adding
- Specified by:
 addToolBarItem in interface UIToolBarManager
 
 
 
addToolBarItem
public void addToolBarItem(UIToolBarItem item,
                           boolean trigger)
- Specified by:
 addToolBarItem in interface UIToolBarManagerCore
 
 
getToolBarIDsByGroup
public String[] getToolBarIDsByGroup(String groupID)
- Specified by:
 getToolBarIDsByGroup in interface UIToolBarManagerCore
 
 
getToolBarItemsByGroup
public UIToolBarItem[] getToolBarItemsByGroup(String groupID)
 
 
removeToolBarItem
public void removeToolBarItem(String id)
- Specified by:
 removeToolBarItem in interface UIToolBarManager
 
 
getGroupIDs
public String[] getGroupIDs()
- Specified by:
 getGroupIDs in interface UIToolBarManagerCore