|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.LabelProvider
net.sourceforge.java.feednread.frontend.components.watchestree.NewsFeedWatchesTreeLabelProvider
LabelProvider implementation used to convert
Watch and WatchFolder objects to gui
representations that are displayable in the NewsFeedWatchesTree
component.
| Field Summary | |
private TreeViewer |
viewer
The TreeViewer that this label provider converts domain to
gui representations for.
|
| Fields inherited from class org.eclipse.core.commands.common.EventManager |
|
| Constructor Summary | |
NewsFeedWatchesTreeLabelProvider(TreeViewer viewer)
Creates a new NewsFeedWatchesTreeLabelProvider for the
specified TreeViewer.
|
|
| Method Summary | |
Image |
getColumnImage(Object element,
int columnIndex)
Returns the label image for the given column of the given element. |
String |
getColumnText(Object element,
int columnIndex)
Returns the label text for the given column of the given element. |
Font |
getFont(Object element)
Return the Font for element or null if
there is none set. |
| Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
addListener, dispose, fireLabelProviderChanged, getImage, getText, isLabelProperty, removeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
addListener, dispose, isLabelProperty, removeListener |
| Field Detail |
private TreeViewer viewer
The TreeViewer that this label provider converts domain to
gui representations for.
| Constructor Detail |
public NewsFeedWatchesTreeLabelProvider(TreeViewer viewer)
Creates a new NewsFeedWatchesTreeLabelProvider for the
specified TreeViewer.
viewer - the TreeViewer for which to create the
NewsFeedWatchsTreeLabelProvider| Method Detail |
public Image getColumnImage(Object element,
int columnIndex)
Returns the label image for the given column of the given element.
getColumnImage in interface ITableLabelProviderelement - the object representing the entire row, or
null indicating that no input object is set in the viewercolumnIndex - the zero-based index of the column in which the label
appears
null if there is no image for the given
object at columnIndexITableLabelProvider.getColumnImage(java.lang.Object,
int)
public String getColumnText(Object element,
int columnIndex)
Returns the label text for the given column of the given element.
getColumnText in interface ITableLabelProviderelement - the object representing the entire row, or
null indicating that no input object is set in the viewercolumnIndex - the zero-based index of the column in which the label
appears
null if there is no text for the
given object at columnIndexITableLabelProvider.getColumnText(java.lang.Object,
int)public Font getFont(Object element)
Font for element or null if
there is none set.
getFont in interface IFontProviderelement - gets the Font for the specified element
null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||