com.aelitis.azureus.ui.swt.subscriptions
Class SBC_SubscriptionResultsView

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.subscriptions.SBC_SubscriptionResultsView
All Implemented Interfaces:
SubscriptionListener, TableViewFilterCheck<SBC_SubscriptionResult>, UIUpdatable, SWTSkinObjectListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener

public class SBC_SubscriptionResultsView
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, TableViewFilterCheck<SBC_SubscriptionResult>, SubscriptionListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.aelitis.azureus.ui.common.table.TableViewFilterCheck
TableViewFilterCheck.TableViewFilterCheckEx<DATASOURCETYPE>
 
Field Summary
static java.lang.String TABLE_SR
           
 
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.core.subs.SubscriptionListener
CR_METADATA, CR_RESULTS
 
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_SubscriptionResultsView()
           
 
Method Summary
 java.lang.Object dataSourceChanged(SWTSkinObject skinObject, java.lang.Object params)
           
 boolean filterCheck(SBC_SubscriptionResult ds, java.lang.String filter, boolean regex)
           
 void filterSet(java.lang.String filter)
           
 java.lang.String getDownloadURI(SBC_SubscriptionResult result)
           
 java.lang.String getUpdateUIName()
          A name for this UIUpdatable so we can track who's being bad
protected  void refilter()
           
 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
 java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was destroyed
 java.lang.Object skinObjectHidden(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was hidden
 java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject, java.lang.Object params)
           
 java.lang.Object skinObjectShown(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was shown
 void subscriptionChanged(Subscription subs, int reason)
           
 void subscriptionDownloaded(Subscription subs, boolean auto)
           
 boolean toolBarItemActivated(ToolBarItem item, long activationType, java.lang.Object datasource)
          XXX Should have been UIToolBarItem
 void updateUI()
          Update your UI!
 
Methods inherited from class com.aelitis.azureus.ui.swt.views.skin.SkinView
getMainSkinObject, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
eventOccured, skinObjectSelected, updateLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_SR

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

SBC_SubscriptionResultsView

public SBC_SubscriptionResultsView()
Method Detail

skinObjectInitialShow

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

refilter

protected void refilter()

dataSourceChanged

public java.lang.Object dataSourceChanged(SWTSkinObject skinObject,
                                          java.lang.Object params)
Overrides:
dataSourceChanged in class SWTSkinObjectAdapter

subscriptionChanged

public void subscriptionChanged(Subscription subs,
                                int reason)
Specified by:
subscriptionChanged in interface SubscriptionListener

subscriptionDownloaded

public void subscriptionDownloaded(Subscription subs,
                                   boolean auto)
Specified by:
subscriptionDownloaded in interface SubscriptionListener

skinObjectShown

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

Overrides:
skinObjectShown in class SkinView

skinObjectHidden

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

Overrides:
skinObjectHidden in class SkinView

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

filterCheck

public boolean filterCheck(SBC_SubscriptionResult ds,
                           java.lang.String filter,
                           boolean regex)
Specified by:
filterCheck in interface TableViewFilterCheck<SBC_SubscriptionResult>

filterSet

public void filterSet(java.lang.String filter)
Specified by:
filterSet in interface TableViewFilterCheck<SBC_SubscriptionResult>

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

getDownloadURI

public java.lang.String getDownloadURI(SBC_SubscriptionResult result)