com.aelitis.azureus.ui.swt.views.skin
Class SBC_TorrentDetailsView.TorrentDetailMdiEntry

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.views.skin.SBC_TorrentDetailsView.TorrentDetailMdiEntry
All Implemented Interfaces:
UIUpdatable, ViewTitleInfo, MdiCloseListener, MdiEntryDatasourceListener, MdiSWTMenuHackListener, ObfusticateTab
Enclosing class:
SBC_TorrentDetailsView

public static class SBC_TorrentDetailsView.TorrentDetailMdiEntry
extends Object
implements MdiSWTMenuHackListener, MdiCloseListener, MdiEntryDatasourceListener, UIUpdatable, ViewTitleInfo, ObfusticateTab


Field Summary
protected  GlobalManagerAdapter gmListener
           
 
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
SBC_TorrentDetailsView.TorrentDetailMdiEntry()
           
 
Method Summary
 MdiEntry createTorrentDetailEntry(MultipleDocumentInterface mdi, String id, Object ds)
           
 String getObfusticatedHeader()
           
 Object getTitleInfoProperty(int propertyID)
           
 String getUpdateUIName()
          A name for this UIUpdatable so we can track who's being bad
 void mdiEntryClosed(MdiEntry entry, boolean userClosed)
          Triggered when a MdiEntry is closed
 void mdiEntryDatasourceChanged(MdiEntry entry)
           
 void menuWillBeShown(MdiEntry entry, org.eclipse.swt.widgets.Menu menuTree)
           
static void register(MultipleDocumentInterfaceSWT mdi)
           
 void updateUI()
          Update your UI!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gmListener

protected GlobalManagerAdapter gmListener
Constructor Detail

SBC_TorrentDetailsView.TorrentDetailMdiEntry

public SBC_TorrentDetailsView.TorrentDetailMdiEntry()
Method Detail

register

public static void register(MultipleDocumentInterfaceSWT mdi)

createTorrentDetailEntry

public MdiEntry createTorrentDetailEntry(MultipleDocumentInterface mdi,
                                         String id,
                                         Object ds)

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

updateUI

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

Specified by:
updateUI in interface UIUpdatable

getUpdateUIName

public 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

mdiEntryClosed

public void mdiEntryClosed(MdiEntry entry,
                           boolean userClosed)
Description copied from interface: MdiCloseListener
Triggered when a MdiEntry is closed

Specified by:
mdiEntryClosed in interface MdiCloseListener
Parameters:
entry - MdiEntry that is closed
userClosed - true if the user closed the entry; false if programmically closed (App close)

mdiEntryDatasourceChanged

public void mdiEntryDatasourceChanged(MdiEntry entry)
Specified by:
mdiEntryDatasourceChanged in interface MdiEntryDatasourceListener

menuWillBeShown

public void menuWillBeShown(MdiEntry entry,
                            org.eclipse.swt.widgets.Menu menuTree)
Specified by:
menuWillBeShown in interface MdiSWTMenuHackListener

getObfusticatedHeader

public String getObfusticatedHeader()
Specified by:
getObfusticatedHeader in interface ObfusticateTab