com.aelitis.azureus.ui.swt.mdi
Class TabbedEntry
java.lang.Object
org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl
com.aelitis.azureus.ui.swt.mdi.BaseMdiEntry
com.aelitis.azureus.ui.swt.mdi.TabbedEntry
- All Implemented Interfaces:
- ViewTitleInfoListener, MdiEntry, MdiEntrySWT, java.util.EventListener, org.eclipse.swt.events.DisposeListener, org.eclipse.swt.internal.SWTEventListener, AEDiagnosticsEvidenceGenerator, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginView, UIPluginViewToolBarListener, ObfusticateImage, UISWTView, UISWTViewCore
public class TabbedEntry
- extends BaseMdiEntry
- implements org.eclipse.swt.events.DisposeListener
MDI Entry that is a CTabItem
and belongs wo TabbedMDI
TODO: VitalityImages
Methods inherited from class com.aelitis.azureus.ui.swt.mdi.BaseMdiEntry |
addListener, addListener, addListener, addListener, addListener, addListener, addListeners, closeView, generate, getAutoOpenInfo, getDatasource, getDatasourceCore, getExportableDatasource, getId, getImageLeft, getImageLeftID, getLogID, getMDI, getMenuHackListeners, getPreferredAfterID, getSkinObject, getSkinObjectMaster, getSkinRef, getTitle, getViewTitleInfo, hasDropListeners, hide, isAdded, isCollapseDisabled, isDisposed, isExpanded, releaseImageLeft, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, requestAttention, requestClose, setCollapseDisabled, setDatasource, setDefaultExpanded, setDisposed, setEventListener, setExpanded, setLogID, setPluginSkinObject, setPreferredAfterID, setSkinObjectMaster, setSkinRef, setViewTitleInfo, swt_hide, triggerChildCloseListeners, triggerCloseListeners, triggerDatasourceListeners, triggerDropListeners, triggerEvent, triggerLogIDListeners, triggerOpenListeners, updateLanguage, updateUI |
Methods inherited from class org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl |
addToolbarEnabler, getComposite, getControlType, getDataSource, getEventListener, getFullTitle, getInitialDataSource, getParentView, getPluginInterface, getPluginSkinObject, getTitleID, getToolbarEnablers, getToolBarListener, getUserData, getViewID, hasToolbarEnableers, initialize, isDelayInitializeToFirstActivate, isDestroyOnDeactivate, refreshTitle, refreshToolBarItems, removeToolbarEnabler, setControlType, setDelayInitializeToFirstActivate, setDestroyOnDeactivate, setParentView, setTitleID, setToolBarListener, setToolbarVisibility, setUseCoreDataSource, setUserData, toolBarItemActivated, triggerEventRaw, useCoreDataSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabbedEntry
public TabbedEntry(TabbedMDI mdi,
SWTSkin skin,
java.lang.String id,
java.lang.String parentViewID)
canBuildStandAlone
public boolean canBuildStandAlone()
buildStandAlone
public SWTSkinObjectContainer buildStandAlone(SWTSkinObjectContainer soParent)
build
public void build()
- Overrides:
build
in class BaseMdiEntry
swt_build
public boolean swt_build()
show
public void show()
- Overrides:
show
in class BaseMdiEntry
addVitalityImage
public MdiEntryVitalityImage addVitalityImage(java.lang.String imageID)
- Tabs don't have Vitality Image support (yet)
- Specified by:
addVitalityImage
in interface MdiEntry
- Overrides:
addVitalityImage
in class BaseMdiEntry
isCloseable
public boolean isCloseable()
- Specified by:
isCloseable
in interface MdiEntry
- Overrides:
isCloseable
in class BaseMdiEntry
setCloseable
public void setCloseable(boolean closeable)
- Overrides:
setCloseable
in class BaseMdiEntry
setSwtItem
public void setSwtItem(org.eclipse.swt.custom.CTabItem swtItem)
getSwtItem
public org.eclipse.swt.widgets.Item getSwtItem()
setTitle
public void setTitle(java.lang.String title)
- Description copied from interface:
UISWTView
- Override the default title with a new one.
After setting this, you should use the
UISWTViewEvent.TYPE_LANGUAGEUPDATE
to update your title to the
new language.
- Specified by:
setTitle
in interface MdiEntry
- Specified by:
setTitle
in interface UISWTView
- Overrides:
setTitle
in class BaseMdiEntry
- Parameters:
title
- new Title
getVitalityImages
public MdiEntryVitalityImage[] getVitalityImages()
- Specified by:
getVitalityImages
in interface MdiEntry
- Overrides:
getVitalityImages
in class BaseMdiEntry
close
public boolean close(boolean forceClose)
- Specified by:
close
in interface MdiEntry
- Overrides:
close
in class BaseMdiEntry
redraw
public void redraw()
- Specified by:
redraw
in interface MdiEntry
setImageLeftID
public void setImageLeftID(java.lang.String id)
- Specified by:
setImageLeftID
in interface MdiEntry
- Overrides:
setImageLeftID
in class BaseMdiEntry
setImageLeft
public void setImageLeft(org.eclipse.swt.graphics.Image imageLeft)
- Specified by:
setImageLeft
in interface MdiEntrySWT
- Overrides:
setImageLeft
in class BaseMdiEntry
- Parameters:
imageLeft
- the imageLeft to set
widgetDisposed
public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
- Specified by:
widgetDisposed
in interface org.eclipse.swt.events.DisposeListener
expandTo
public void expandTo()
- Specified by:
expandTo
in interface MdiEntry
viewTitleInfoRefresh
public void viewTitleInfoRefresh(ViewTitleInfo titleInfoToRefresh)
- Specified by:
viewTitleInfoRefresh
in interface ViewTitleInfoListener
- Overrides:
viewTitleInfoRefresh
in class BaseMdiEntry
isSelectable
public boolean isSelectable()
- Specified by:
isSelectable
in interface MdiEntry
setSelectable
public void setSelectable(boolean selectable)
- Specified by:
setSelectable
in interface MdiEntry
addListener
public void addListener(MdiSWTMenuHackListener l)
- Specified by:
addListener
in interface MdiEntrySWT
- Overrides:
addListener
in class BaseMdiEntry
removeListener
public void removeListener(MdiSWTMenuHackListener l)
- Specified by:
removeListener
in interface MdiEntrySWT
- Overrides:
removeListener
in class BaseMdiEntry
setParentID
public void setParentID(java.lang.String id)
- Specified by:
setParentID
in interface MdiEntry
- Overrides:
setParentID
in class BaseMdiEntry
getParentID
public java.lang.String getParentID()
- Specified by:
getParentID
in interface MdiEntry
- Overrides:
getParentID
in class BaseMdiEntry
obfusticatedImage
public org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
- Specified by:
obfusticatedImage
in interface ObfusticateImage