com.aelitis.azureus.ui.swt.views.skin.sidebar
Class SideBarEntrySWT
java.lang.Object
org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl
com.aelitis.azureus.ui.swt.mdi.BaseMdiEntry
com.aelitis.azureus.ui.swt.views.skin.sidebar.SideBarEntrySWT
- 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 SideBarEntrySWT
- extends BaseMdiEntry
- implements org.eclipse.swt.events.DisposeListener
- Author:
- TuxPaper
Methods inherited from class com.aelitis.azureus.ui.swt.mdi.BaseMdiEntry |
addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListeners, closeView, generate, getAutoOpenInfo, getDatasource, getDatasourceCore, getExportableDatasource, getId, getImageLeft, getImageLeftID, getLogID, getMDI, getMenuHackListeners, getParentID, getPreferredAfterID, getSkinObject, getSkinObjectMaster, getSkinRef, getTitle, getViewTitleInfo, hasDropListeners, isAdded, isCloseable, isCollapseDisabled, isDisposed, isExpanded, releaseImageLeft, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, requestClose, setCloseable, setCollapseDisabled, setDatasource, setDefaultExpanded, setDisposed, setEventListener, setImageLeft, setImageLeftID, setLogID, setParentID, setPluginSkinObject, setPreferredAfterID, setSkinObjectMaster, setSkinRef, setViewTitleInfo, swt_hide, triggerChildCloseListeners, triggerCloseListeners, triggerDatasourceListeners, triggerDropListeners, triggerEvent, triggerLogIDListeners, triggerOpenListeners, updateLanguage, updateUI, viewTitleInfoRefresh |
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, refreshToolBarItems, removeToolbarEnabler, setControlType, setDelayInitializeToFirstActivate, setDestroyOnDeactivate, setParentView, setTitleID, setToolBarListener, setUseCoreDataSource, setUserData, toolBarItemActivated, triggerEventRaw, useCoreDataSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SideBarEntrySWT
public SideBarEntrySWT(SideBar sidebar,
SWTSkin _skin,
java.lang.String id,
java.lang.String parentViewID)
updateColors
protected void updateColors()
getTreeItem
public org.eclipse.swt.widgets.TreeItem getTreeItem()
setTreeItem
public void setTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
addVitalityImage
public MdiEntryVitalityImage addVitalityImage(java.lang.String imageID)
- Specified by:
addVitalityImage
in interface MdiEntry
- Overrides:
addVitalityImage
in class BaseMdiEntry
getVitalityImages
public MdiEntryVitalityImage[] getVitalityImages()
- Specified by:
getVitalityImages
in interface MdiEntry
- Overrides:
getVitalityImages
in class BaseMdiEntry
getVitalityImage
public MdiEntryVitalityImage getVitalityImage(int hitX,
int hitY)
requestAttention
public void requestAttention()
- Specified by:
requestAttention
in interface MdiEntry
- Overrides:
requestAttention
in class BaseMdiEntry
attentionUpdate
protected boolean attentionUpdate(int ticks)
redraw
public void redraw()
- Specified by:
redraw
in interface MdiEntry
swt_getBounds
protected org.eclipse.swt.graphics.Rectangle swt_getBounds()
setExpanded
public void setExpanded(boolean expanded)
- Specified by:
setExpanded
in interface MdiEntry
- Overrides:
setExpanded
in class BaseMdiEntry
expandTo
public void expandTo()
- Specified by:
expandTo
in interface MdiEntry
close
public boolean close(boolean force)
- Specified by:
close
in interface MdiEntry
- Overrides:
close
in class BaseMdiEntry
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
hide
public void hide()
- Specified by:
hide
in interface MdiEntry
- Overrides:
hide
in class BaseMdiEntry
swt_paintSideBar
protected void swt_paintSideBar(org.eclipse.swt.widgets.Event event)
swt_paintEntryBG
protected org.eclipse.swt.graphics.Color swt_paintEntryBG(int detail,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle drawBounds)
widgetDisposed
public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
- Specified by:
widgetDisposed
in interface org.eclipse.swt.events.DisposeListener
setParentSkinObject
public void setParentSkinObject(SWTSkinObjectContainer soParent)
getParentSkinObject
public SWTSkinObjectContainer getParentSkinObject()
setSelectable
public void setSelectable(boolean selectable)
- Specified by:
setSelectable
in interface MdiEntry
isSelectable
public boolean isSelectable()
- Specified by:
isSelectable
in interface MdiEntry
swt_isVisible
public boolean swt_isVisible()
obfusticatedImage
public org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
- Specified by:
obfusticatedImage
in interface ObfusticateImage
setToolbarVisibility
protected void setToolbarVisibility(boolean visible)
- Overrides:
setToolbarVisibility
in class UISWTViewImpl
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
refreshTitle
protected void refreshTitle()
- Overrides:
refreshTitle
in class UISWTViewImpl