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

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

public class PeersGraphicView
extends java.lang.Object
implements UISWTViewCoreEventListener, UIPluginViewToolBarListener, UISWTViewCoreEventListenerEx

This is the "Swarm" View

Author:
Olivier Chalouhi

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
PeersGraphicView()
           
 
Method Summary
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 UISWTViewCoreEventListener getClone()
           
 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 java.lang.String MSGID_PREFIX
Constructor Detail

PeersGraphicView

public PeersGraphicView()
Method Detail

isCloneable

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

getClone

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

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