org.gudy.azureus2.ui.swt.views
Class DownloadActivityView

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.DownloadActivityView
All Implemented Interfaces:
UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener, UISWTViewCoreEventListenerEx

public class DownloadActivityView
extends java.lang.Object
implements UISWTViewCoreEventListenerEx, UIPluginViewToolBarListener

aka "Speed" sub view


Field Summary
static java.lang.String MSGID_PREFIX
           
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
 
Constructor Summary
DownloadActivityView()
           
 
Method Summary
 void dataSourceChanged(java.lang.Object newDataSource)
           
 void delete()
           
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 void fillPanel()
           
 UISWTViewCoreEventListener getClone()
           
 org.eclipse.swt.widgets.Composite getComposite()
           
 void initialize(org.eclipse.swt.widgets.Composite parent)
           
 boolean isCloneable()
           
 void refreshToolBarItems(java.util.Map<java.lang.String,java.lang.Long> list)
          Fill in list with the toolbar ids and states you wish to set
 boolean toolBarItemActivated(ToolBarItem item, long activationType, java.lang.Object datasource)
          XXX Should have been UIToolBarItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSGID_PREFIX

public static final java.lang.String MSGID_PREFIX
See Also:
Constant Field Values
Constructor Detail

DownloadActivityView

public DownloadActivityView()
Method Detail

isCloneable

public boolean isCloneable()
Specified by:
isCloneable in interface UISWTViewCoreEventListenerEx

getClone

public UISWTViewCoreEventListener getClone()
Specified by:
getClone in interface UISWTViewCoreEventListenerEx

initialize

public void initialize(org.eclipse.swt.widgets.Composite parent)

fillPanel

public void fillPanel()

getComposite

public org.eclipse.swt.widgets.Composite getComposite()

dataSourceChanged

public void dataSourceChanged(java.lang.Object newDataSource)

delete

public void delete()

eventOccurred

public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface: UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs

Specified by:
eventOccurred in interface UISWTViewEventListener
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type

toolBarItemActivated

public boolean toolBarItemActivated(ToolBarItem item,
                                    long activationType,
                                    java.lang.Object datasource)
Description copied from interface: UIToolBarActivationListener
XXX Should have been UIToolBarItem

Specified by:
toolBarItemActivated in interface UIToolBarActivationListener

refreshToolBarItems

public void refreshToolBarItems(java.util.Map<java.lang.String,java.lang.Long> list)
Description copied from interface: UIPluginViewToolBarListener
Fill in list with the toolbar ids and states you wish to set

Specified by:
refreshToolBarItems in interface UIPluginViewToolBarListener