com.aelitis.azureus.ui.swt.mdi
Class TabbedMDI
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
com.aelitis.azureus.ui.swt.views.skin.SkinView
com.aelitis.azureus.ui.swt.mdi.BaseMDI
com.aelitis.azureus.ui.swt.mdi.TabbedMDI
- All Implemented Interfaces:
- UIUpdatable, MultipleDocumentInterface, MultipleDocumentInterfaceSWT, TabbedMdiInterface, SWTSkinObjectListener, ParameterListener, AEDiagnosticsEvidenceGenerator, ObfusticateImage
public class TabbedMDI
- extends BaseMDI
- implements TabbedMdiInterface, AEDiagnosticsEvidenceGenerator, ParameterListener, ObfusticateImage
Fields inherited from interface com.aelitis.azureus.ui.mdi.MultipleDocumentInterface |
SIDEBAR_HEADER_DEVICES, SIDEBAR_HEADER_DISCOVERY, SIDEBAR_HEADER_DVD, SIDEBAR_HEADER_PLUGINS, SIDEBAR_HEADER_TRANSFERS, SIDEBAR_HEADER_VUZE, SIDEBAR_POS_FIRST, SIDEBAR_SECTION_ABOUTPLUGINS, SIDEBAR_SECTION_ACTIVITIES, SIDEBAR_SECTION_ALLPEERS, SIDEBAR_SECTION_ARCHIVED_DOWNLOADS, SIDEBAR_SECTION_BETAPROGRAM, SIDEBAR_SECTION_BURN_INFO, SIDEBAR_SECTION_CHAT, SIDEBAR_SECTION_CLIENT_STATS, SIDEBAR_SECTION_CONFIG, SIDEBAR_SECTION_DEVICES, SIDEBAR_SECTION_DOWNLOAD_HISTORY, SIDEBAR_SECTION_GAMES, SIDEBAR_SECTION_LIBRARY, SIDEBAR_SECTION_LIBRARY_CD, SIDEBAR_SECTION_LIBRARY_DL, SIDEBAR_SECTION_LIBRARY_UNOPENED, SIDEBAR_SECTION_LOGGER, SIDEBAR_SECTION_MY_SHARES, SIDEBAR_SECTION_MY_TRACKER, SIDEBAR_SECTION_PLUGINS, SIDEBAR_SECTION_PLUS, SIDEBAR_SECTION_SEARCH, SIDEBAR_SECTION_SUBSCRIPTIONS, SIDEBAR_SECTION_TAG_DISCOVERY, SIDEBAR_SECTION_TAGS, SIDEBAR_SECTION_TORRENT_DETAILS, SIDEBAR_SECTION_TORRENT_OPTIONS, SIDEBAR_SECTION_WELCOME |
Method Summary |
protected MdiEntry |
createEntryByCreationListener(String id,
Object ds,
Map<?,?> autoOpenMap)
|
MdiEntry |
createEntryFromEventListener(String parentEntryID,
String parentViewID,
UISWTViewEventListener l,
String id,
boolean closeable,
Object datasource,
String preferredAfterID)
|
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 |
createHeader(String id,
String title,
String preferredAfterID)
|
Object |
dataSourceChanged(SWTSkinObject skinObject,
Object ds)
|
void |
fillMenu(org.eclipse.swt.widgets.Menu menu,
MdiEntry entry,
String menuID)
|
void |
generate(IndentWriter writer)
|
MdiEntrySWT |
getEntryFromSkinObject(PluginUISWTSkinObject pluginSkinObject)
|
int |
getFolderHeight()
|
boolean |
getMinimized()
|
org.eclipse.swt.custom.CTabFolder |
getTabFolder()
|
String |
getUpdateUIName()
A name for this UIUpdatable so we can track who's being bad |
org.eclipse.swt.graphics.Image |
obfusticatedImage(org.eclipse.swt.graphics.Image image)
|
void |
parameterChanged(String parameterName)
Called, when a parameter has changed. |
protected void |
setEntryLoadedOnce(String id)
|
void |
setMaximizeVisible(boolean visible)
|
void |
setMinimized(boolean minimized)
|
void |
setMinimizeVisible(boolean visible)
|
void |
setTabbedMdiMaximizeListener(TabbedMdiMaximizeListener l)
|
void |
showEntry(MdiEntry newEntry)
|
Object |
skinObjectCreated(SWTSkinObject skinObject,
Object params)
Skin Object was created. |
Object |
skinObjectDestroyed(SWTSkinObject skinObject,
Object params)
Skin Object was destroyed |
protected boolean |
wasEntryLoadedOnce(String id)
|
Methods inherited from class com.aelitis.azureus.ui.swt.mdi.BaseMDI |
addItem, addListener, addListener, addListener, closeEntry, createEntryFromEventListener, createEntryFromEventListener, deregisterEntry, deregisterEntry, entryExists, getChildrenOf, getCoreViewFromID, getCurrentEntry, getCurrentEntrySWT, getEntries, getEntries, getEntriesCount, getEntriesSWT, getEntry, getEntryBySkinView, getEntrySWT, getMenuHackListeners, getPreferredOrder, informAutoOpenSet, itemSelected, loadCloseables, loadEntryByID, loadEntryByID, registerEntry, registerEntry, removeEntryAutoOpen, removeItem, removeListener, removeListener, removeListener, saveCloseables, setCloseableConfigFile, setEntryAutoOpen, setPreferredOrder, setupPluginViews, showEntryByID, showEntryByID, skinObjectInitialShow, triggerEntryLoadedListeners, triggerSelectionListener, updateLanguage, updateUI |
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 |
addListener, addListener, closeEntry, deregisterEntry, deregisterEntry, entryExists, getChildrenOf, getCurrentEntry, getEntries, getEntriesCount, getEntry, getPreferredOrder, informAutoOpenSet, isDisposed, isVisible, loadEntryByID, loadEntryByID, registerEntry, registerEntry, removeEntryAutoOpen, removeItem, removeListener, removeListener, setEntryAutoOpen, setPreferredOrder, showEntryByID, showEntryByID |
minimized
protected boolean minimized
isMainMDI
protected boolean isMainMDI
TabbedMDI
public TabbedMDI()
TabbedMDI
public TabbedMDI(org.eclipse.swt.widgets.Composite parent,
String id)
- Parameters:
parent
-
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
skinObjectDestroyed
public Object skinObjectDestroyed(SWTSkinObject skinObject,
Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was destroyed
- Overrides:
skinObjectDestroyed
in class BaseMDI
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
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 parentEntryID,
String parentViewID,
UISWTViewEventListener l,
String id,
boolean closeable,
Object datasource,
String preferredAfterID)
- Specified by:
createEntryFromEventListener
in interface MultipleDocumentInterfaceSWT
- Specified by:
createEntryFromEventListener
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
getTabFolder
public org.eclipse.swt.custom.CTabFolder getTabFolder()
- Specified by:
getTabFolder
in interface TabbedMdiInterface
setMaximizeVisible
public void setMaximizeVisible(boolean visible)
- Specified by:
setMaximizeVisible
in interface TabbedMdiInterface
setMinimizeVisible
public void setMinimizeVisible(boolean visible)
- Specified by:
setMinimizeVisible
in interface TabbedMdiInterface
getMinimized
public boolean getMinimized()
- Specified by:
getMinimized
in interface TabbedMdiInterface
setMinimized
public void setMinimized(boolean minimized)
- Specified by:
setMinimized
in interface TabbedMdiInterface
getFolderHeight
public int getFolderHeight()
- Specified by:
getFolderHeight
in interface TabbedMdiInterface
dataSourceChanged
public Object dataSourceChanged(SWTSkinObject skinObject,
Object ds)
- Overrides:
dataSourceChanged
in class SWTSkinObjectAdapter
parameterChanged
public void parameterChanged(String parameterName)
- Description copied from interface:
ParameterListener
- Called, when a parameter has changed.
The listener could only react if the parameter name is relevant.
Or the listener can just read all parameters again.
- Specified by:
parameterChanged
in interface ParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed
setTabbedMdiMaximizeListener
public void setTabbedMdiMaximizeListener(TabbedMdiMaximizeListener l)
- Specified by:
setTabbedMdiMaximizeListener
in interface TabbedMdiInterface
obfusticatedImage
public org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
- Specified by:
obfusticatedImage
in interface ObfusticateImage
createEntryByCreationListener
protected MdiEntry createEntryByCreationListener(String id,
Object ds,
Map<?,?> autoOpenMap)
- Overrides:
createEntryByCreationListener
in class BaseMDI
fillMenu
public void fillMenu(org.eclipse.swt.widgets.Menu menu,
MdiEntry entry,
String menuID)
- Overrides:
fillMenu
in class BaseMDI