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

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.subscriptions.SubscriptionMDIEntry
All Implemented Interfaces:
SubscriptionListener, ViewTitleInfo

public class SubscriptionMDIEntry
extends Object
implements SubscriptionListener, ViewTitleInfo


Field Summary
 
Fields inherited from interface com.aelitis.azureus.core.subs.SubscriptionListener
CR_METADATA, CR_RESULTS
 
Fields inherited from interface com.aelitis.azureus.ui.common.viewtitleinfo.ViewTitleInfo
TITLE_ACTIVE_STATE, TITLE_EXPORTABLE_DATASOURCE, TITLE_IMAGE_TOOLTIP, TITLE_IMAGEID, TITLE_INDICATOR_COLOR, TITLE_INDICATOR_TEXT, TITLE_INDICATOR_TEXT_TOOLTIP, TITLE_LOGID, TITLE_TEXT
 
Constructor Summary
SubscriptionMDIEntry(Subscription subs, MdiEntry entry)
           
 
Method Summary
protected  String getCurrentParent()
           
 Object getTitleInfoProperty(int propertyID)
           
protected  boolean isDisposed()
           
protected  void refreshView()
           
protected  void removeWithConfirm()
           
protected static String setupMenus(Subscription subs, Runnable refresher)
           
protected  void setWarning()
           
 void subscriptionChanged(Subscription subs, int reason)
           
 void subscriptionDownloaded(Subscription subs, boolean auto)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionMDIEntry

public SubscriptionMDIEntry(Subscription subs,
                            MdiEntry entry)
Method Detail

setupMenus

protected static String setupMenus(Subscription subs,
                                   Runnable refresher)

getCurrentParent

protected String getCurrentParent()

isDisposed

protected boolean isDisposed()

subscriptionDownloaded

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

subscriptionChanged

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

refreshView

protected void refreshView()

setWarning

protected void setWarning()

getTitleInfoProperty

public Object getTitleInfoProperty(int propertyID)
Specified by:
getTitleInfoProperty in interface ViewTitleInfo
Parameters:
propertyID - TITLE_*
Returns:
value, or null if you don't want to set it

removeWithConfirm

protected void removeWithConfirm()