|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.viewers.LabelProvider org.eclipse.ui.model.PerspectiveLabelProvider
A table label provider implementation for showing workbench perspectives (objects of type IPerspectiveDescriptor) in table- and tree-structured viewers.
Clients may instantiate this class. It is not intended to be subclassed.
Constructor Summary | |
PerspectiveLabelProvider()
Creates a new label provider for perspectives. | |
PerspectiveLabelProvider(boolean markDefault)
Creates a new label provider for perspectives. |
Method Summary | |
void | dispose()
Disposes of this label provider. |
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. |
Image | getImage(Object element)
The LabelProvider implementation of this ILabelProvider method returns null. |
String | getText(Object element)
The LabelProvider implementation of this ILabelProvider method returns the element's toString string. |
Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
addListener, fireLabelProviderChanged, isLabelProperty, removeListener |
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, isLabelProperty, removeListener |
Constructor Detail |
public PerspectiveLabelProvider()
public PerspectiveLabelProvider(boolean markDefault)
Method Detail |
public final Image getImage(Object element)
public final void dispose()
public final String getText(Object element)
public final Image getColumnImage(Object element, int columnIndex)
public final String getColumnText(Object element, int columnIndex)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.