com.aelitis.azureus.ui.swt.mdi
Class TabbedMDI

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.mdi.BaseMDI
              extended by com.aelitis.azureus.ui.swt.mdi.TabbedMDI
All Implemented Interfaces:
UIUpdatable, MultipleDocumentInterface, MultipleDocumentInterfaceSWT, SWTSkinObjectListener, AEDiagnosticsEvidenceGenerator

public class TabbedMDI
extends BaseMDI
implements AEDiagnosticsEvidenceGenerator


Field Summary
 
Fields inherited from class com.aelitis.azureus.ui.swt.mdi.BaseMDI
currentEntry, mapIdToEntry
 
Fields inherited from class com.aelitis.azureus.ui.swt.views.skin.SkinView
skin, soMain
 
Fields inherited from interface com.aelitis.azureus.ui.mdi.MultipleDocumentInterface
SIDEBAR_HEADER_DEVICES, SIDEBAR_HEADER_DISCOVERY, SIDEBAR_HEADER_DVD, SIDEBAR_HEADER_PLUGINS, SIDEBAR_HEADER_SUBSCRIPTIONS, SIDEBAR_HEADER_TRANSFERS, SIDEBAR_HEADER_VUZE, SIDEBAR_POS_FIRST, SIDEBAR_SECTION_ABOUTPLUGINS, SIDEBAR_SECTION_ACTIVITIES, SIDEBAR_SECTION_BETAPROGRAM, SIDEBAR_SECTION_BURN_INFO, SIDEBAR_SECTION_DEVICES, SIDEBAR_SECTION_GAMES, SIDEBAR_SECTION_LIBRARY, SIDEBAR_SECTION_LIBRARY_CD, SIDEBAR_SECTION_LIBRARY_DL, SIDEBAR_SECTION_LIBRARY_UNOPENED, SIDEBAR_SECTION_PLUGINS, SIDEBAR_SECTION_PLUS, SIDEBAR_SECTION_SEARCH, SIDEBAR_SECTION_SUBSCRIPTIONS, SIDEBAR_SECTION_TAG_DISCOVERY, SIDEBAR_SECTION_TAGS, SIDEBAR_SECTION_WELCOME, SIDEBAR_TORRENT_DETAILS_PREFIX
 
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
TabbedMDI()
           
 
Method Summary
 MdiEntry createEntryFromEventListener(String parentID, UISWTViewEventListener l, String id, boolean closeable, Object datasource, String preferredAfterID)
          If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'
 MdiEntry createEntryFromSkinRef(String parentID, String id, String configID, String title, ViewTitleInfo titleInfo, Object params, boolean closeable, String preferedAfterID)
          If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'
 MdiEntry createEntryFromView(String parentID, UISWTViewCore view, String id, Object datasource, boolean closeable, boolean show, boolean expand)
           
 MdiEntry createHeader(String id, String title, String preferredAfterID)
           
 void generate(IndentWriter writer)
           
 MdiEntrySWT getEntryFromSkinObject(PluginUISWTSkinObject pluginSkinObject)
           
 String getUpdateUIName()
          A name for this UIUpdatable so we can track who's being bad
protected  void setEntryLoadedOnce(String id)
           
 void showEntry(MdiEntry newEntry)
           
 Object skinObjectCreated(SWTSkinObject skinObject, Object params)
          Skin Object was created.
 Object skinObjectInitialShow(SWTSkinObject skinObject, Object params)
           
 void updateUI()
          Update your UI!
protected  boolean wasEntryLoadedOnce(String id)
           
 
Methods inherited from class com.aelitis.azureus.ui.swt.mdi.BaseMDI
addListener, addListener, closeEntry, entryExists, getChildrenOf, getCoreViewFromID, getCurrentEntry, getCurrentEntrySWT, getEntries, getEntriesSWT, getEntry, getEntryBySkinView, getEntrySWT, getPreferredOrder, informAutoOpenSet, loadCloseables, loadEntryByID, loadEntryByID, registerEntry, registerEntry, removeEntryAutoOpen, removeItem, removeListener, removeListener, saveCloseables, setEntryAutoOpen, setPreferredOrder, setupPluginViews, showEntryByID, skinObjectDestroyed, triggerEntryLoadedListeners, triggerSelectionListener, updateLanguage
 
Methods inherited from class com.aelitis.azureus.ui.swt.views.skin.SkinView
getMainSkinObject, getSkin, getSkinObject, isVisible, setMainSkinObject, skinObjectHidden, skinObjectShown
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aelitis.azureus.ui.mdi.MultipleDocumentInterface
isVisible
 

Constructor Detail

TabbedMDI

public TabbedMDI()
Method Detail

skinObjectCreated

public Object skinObjectCreated(SWTSkinObject skinObject,
                                Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was created. All children are guaranteed to be created.

Overrides:
skinObjectCreated in class SkinView

skinObjectInitialShow

public Object skinObjectInitialShow(SWTSkinObject skinObject,
                                    Object params)
Overrides:
skinObjectInitialShow in class BaseMDI
Returns:

wasEntryLoadedOnce

protected boolean wasEntryLoadedOnce(String id)
Specified by:
wasEntryLoadedOnce in class BaseMDI

setEntryLoadedOnce

protected void setEntryLoadedOnce(String id)
Specified by:
setEntryLoadedOnce in class BaseMDI

showEntry

public void showEntry(MdiEntry newEntry)
Specified by:
showEntry in interface MultipleDocumentInterface

updateUI

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

Specified by:
updateUI in interface UIUpdatable
Overrides:
updateUI in class BaseMDI

createEntryFromSkinRef

public MdiEntry createEntryFromSkinRef(String parentID,
                                       String id,
                                       String configID,
                                       String title,
                                       ViewTitleInfo titleInfo,
                                       Object params,
                                       boolean closeable,
                                       String preferedAfterID)
Description copied from interface: MultipleDocumentInterface
If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'

Specified by:
createEntryFromSkinRef in interface MultipleDocumentInterface
Specified by:
createEntryFromSkinRef in class BaseMDI
Returns:

createEntryFromEventListener

public MdiEntry createEntryFromEventListener(String parentID,
                                             UISWTViewEventListener l,
                                             String id,
                                             boolean closeable,
                                             Object datasource,
                                             String preferredAfterID)
Description copied from interface: MultipleDocumentInterfaceSWT
If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'

Specified by:
createEntryFromEventListener in interface MultipleDocumentInterfaceSWT
Specified by:
createEntryFromEventListener in class BaseMDI
Returns:

createEntryFromView

public MdiEntry createEntryFromView(String parentID,
                                    UISWTViewCore view,
                                    String id,
                                    Object datasource,
                                    boolean closeable,
                                    boolean show,
                                    boolean expand)
Specified by:
createEntryFromView in interface MultipleDocumentInterfaceSWT
Specified by:
createEntryFromView in class BaseMDI

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
Overrides:
getUpdateUIName in class BaseMDI
Returns:
some name

generate

public void generate(IndentWriter writer)
Specified by:
generate in interface AEDiagnosticsEvidenceGenerator

getEntryFromSkinObject

public MdiEntrySWT getEntryFromSkinObject(PluginUISWTSkinObject pluginSkinObject)
Specified by:
getEntryFromSkinObject in interface MultipleDocumentInterfaceSWT

createHeader

public MdiEntry createHeader(String id,
                             String title,
                             String preferredAfterID)
Specified by:
createHeader in interface MultipleDocumentInterface