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

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.subscriptions.SubscriptionsView
All Implemented Interfaces:
SubscriptionManagerListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener

public class SubscriptionsView
extends java.lang.Object
implements SubscriptionManagerListener, UIPluginViewToolBarListener, UISWTViewCoreEventListener


Field Summary
protected static java.lang.String TABLE_ID
           
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
 
Constructor Summary
SubscriptionsView()
           
 
Method Summary
 void associationsChanged(byte[] association_hash)
           
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 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
 void subscriptionAdded(Subscription subscription)
           
 void subscriptionChanged(Subscription subscription)
           
 void subscriptionRemoved(Subscription subscription)
           
 void subscriptionRequested(java.net.URL url, java.util.Map<java.lang.String,java.lang.Object> options)
           
 void subscriptionSelected(Subscription subscription)
           
 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

TABLE_ID

protected static final java.lang.String TABLE_ID
See Also:
Constant Field Values
Constructor Detail

SubscriptionsView

public SubscriptionsView()
Method Detail

associationsChanged

public void associationsChanged(byte[] association_hash)
Specified by:
associationsChanged in interface SubscriptionManagerListener

subscriptionSelected

public void subscriptionSelected(Subscription subscription)
Specified by:
subscriptionSelected in interface SubscriptionManagerListener

subscriptionRequested

public void subscriptionRequested(java.net.URL url,
                                  java.util.Map<java.lang.String,java.lang.Object> options)
Specified by:
subscriptionRequested in interface SubscriptionManagerListener

subscriptionAdded

public void subscriptionAdded(Subscription subscription)
Specified by:
subscriptionAdded in interface SubscriptionManagerListener

subscriptionRemoved

public void subscriptionRemoved(Subscription subscription)
Specified by:
subscriptionRemoved in interface SubscriptionManagerListener

subscriptionChanged

public void subscriptionChanged(Subscription subscription)
Specified by:
subscriptionChanged in interface SubscriptionManagerListener

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

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