org.gudy.azureus2.ui.swt.mainwindow
Class PluginsMenuHelper

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.mainwindow.PluginsMenuHelper

public class PluginsMenuHelper
extends java.lang.Object


Nested Class Summary
static class PluginsMenuHelper.IViewInfo
           
static interface PluginsMenuHelper.PluginAddedViewListener
           
 
Method Summary
 void addPluginAddedViewListener(PluginsMenuHelper.PluginAddedViewListener l)
           
 void addPluginView(java.lang.String sViewID, UISWTViewEventListener l)
           
 void buildPluginLogsMenu(org.eclipse.swt.widgets.Menu parentMenu)
           
 void buildPluginMenu(org.eclipse.swt.widgets.Menu pluginMenu, org.eclipse.swt.widgets.Shell parent, boolean includeGetPluginsMenu)
           
 boolean buildViewMenu(org.eclipse.swt.widgets.Menu viewMenu, org.eclipse.swt.widgets.Shell parent)
           
 PluginsMenuHelper.IViewInfo findIViewInfo(UISWTViewEventListener l)
           
static PluginsMenuHelper getInstance()
           
 PluginsMenuHelper.IViewInfo[] getPluginLogViewsInfo()
           
 PluginsMenuHelper.IViewInfo[] getPluginViewsInfo()
           
 void removePluginViews(java.lang.String sViewID)
           
 void triggerPluginAddedViewListeners(PluginsMenuHelper.IViewInfo viewInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PluginsMenuHelper getInstance()

buildPluginLogsMenu

public void buildPluginLogsMenu(org.eclipse.swt.widgets.Menu parentMenu)

buildViewMenu

public boolean buildViewMenu(org.eclipse.swt.widgets.Menu viewMenu,
                             org.eclipse.swt.widgets.Shell parent)

buildPluginMenu

public void buildPluginMenu(org.eclipse.swt.widgets.Menu pluginMenu,
                            org.eclipse.swt.widgets.Shell parent,
                            boolean includeGetPluginsMenu)

addPluginView

public void addPluginView(java.lang.String sViewID,
                          UISWTViewEventListener l)

removePluginViews

public void removePluginViews(java.lang.String sViewID)

getPluginViewsInfo

public PluginsMenuHelper.IViewInfo[] getPluginViewsInfo()

getPluginLogViewsInfo

public PluginsMenuHelper.IViewInfo[] getPluginLogViewsInfo()

addPluginAddedViewListener

public void addPluginAddedViewListener(PluginsMenuHelper.PluginAddedViewListener l)

triggerPluginAddedViewListeners

public void triggerPluginAddedViewListeners(PluginsMenuHelper.IViewInfo viewInfo)

findIViewInfo

public PluginsMenuHelper.IViewInfo findIViewInfo(UISWTViewEventListener l)