com.aelitis.azureus.ui.swt.views.skin
Class SBC_ActivityTableView

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
      extended by com.aelitis.azureus.ui.swt.views.skin.SkinView
          extended by com.aelitis.azureus.ui.swt.views.skin.SBC_ActivityTableView
All Implemented Interfaces:
VuzeActivitiesListener, UIUpdatable, SWTSkinObjectListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener

public class SBC_ActivityTableView
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, VuzeActivitiesListener

Author:
TuxPaper

Field Summary
 
Fields inherited from class com.aelitis.azureus.ui.swt.views.skin.SkinView
skin, soMain
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
 
Fields inherited from interface com.aelitis.azureus.ui.swt.skin.SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_SELECT, EVENT_SHOW, NAMES
 
Constructor Summary
SBC_ActivityTableView()
           
 
Method Summary
 ISelectedContent[] getCurrentlySelectedContent()
           
 java.lang.String getUpdateUIName()
          A name for this UIUpdatable so we can track who's being bad
 TableViewSWT getView()
           
 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
protected  void removeSelected()
           
static void setupSidebarEntry(MultipleDocumentInterface mdi)
           
 java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was destroyed
 java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject, java.lang.Object params)
           
 boolean toolBarItemActivated(ToolBarItem item, long activationType, java.lang.Object datasource)
          XXX Should have been UIToolBarItem
 void updateUI()
          Update your UI!
 void vuzeNewsEntriesAdded(VuzeActivitiesEntry[] entries)
           
 void vuzeNewsEntriesRemoved(VuzeActivitiesEntry[] entries)
           
 void vuzeNewsEntryChanged(VuzeActivitiesEntry entry)
           
 
Methods inherited from class com.aelitis.azureus.ui.swt.views.skin.SkinView
getMainSkinObject, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectHidden, skinObjectShown
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected, updateLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SBC_ActivityTableView

public SBC_ActivityTableView()
Method Detail

skinObjectInitialShow

public java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject,
                                              java.lang.Object params)
Specified by:
skinObjectInitialShow in class SkinView
Returns:

skinObjectDestroyed

public java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject,
                                            java.lang.Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was destroyed

Overrides:
skinObjectDestroyed in class SkinView

getUpdateUIName

public java.lang.String getUpdateUIName()
Description copied from interface: UIUpdatable
A name for this UIUpdatable so we can track who's being bad

Specified by:
getUpdateUIName in interface UIUpdatable
Returns:
some name

updateUI

public void updateUI()
Description copied from interface: UIUpdatable
Update your UI!

Specified by:
updateUI in interface UIUpdatable

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

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

getCurrentlySelectedContent

public ISelectedContent[] getCurrentlySelectedContent()

vuzeNewsEntriesAdded

public void vuzeNewsEntriesAdded(VuzeActivitiesEntry[] entries)
Specified by:
vuzeNewsEntriesAdded in interface VuzeActivitiesListener

vuzeNewsEntriesRemoved

public void vuzeNewsEntriesRemoved(VuzeActivitiesEntry[] entries)
Specified by:
vuzeNewsEntriesRemoved in interface VuzeActivitiesListener

vuzeNewsEntryChanged

public void vuzeNewsEntryChanged(VuzeActivitiesEntry entry)
Specified by:
vuzeNewsEntryChanged in interface VuzeActivitiesListener

removeSelected

protected void removeSelected()

getView

public TableViewSWT getView()

setupSidebarEntry

public static void setupSidebarEntry(MultipleDocumentInterface mdi)