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 Object
implements SubscriptionManagerListener, UIPluginViewToolBarListener, UISWTViewCoreEventListener


Field Summary
 
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(Map<String,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(URL url, Map<String,Object> options)
           
 void subscriptionSelected(Subscription subscription)
           
 boolean toolBarItemActivated(ToolBarItem item, long activationType, 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
 

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(URL url,
                                  Map<String,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(Map<String,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,
                                    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