|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.jface.viewers.LabelProvider sk.uniba.euromath.plugin.views.outline.OutlineItemsLabelProvider
class OutlineItemsLabelProvider
Provides images and labels for outline items. Every node type has different image and label
Field Summary | |
---|---|
protected boolean |
inverted
Inverted images flag. |
protected ImageRegistry |
registry
Image registry for image labels. |
Constructor Summary | |
---|---|
OutlineItemsLabelProvider(EditorSite site)
Constructor. |
Method Summary | |
---|---|
void |
dispose()
|
Image |
getImage(Object obj)
Returns image for obj. |
ImageRegistry |
getImageRegistry()
Getter for image registry. |
String |
getText(Object obj)
Returns text, label for object. |
void |
setWithInvertedImages(boolean b)
|
Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
---|
addListener, fireLabelProviderChanged, 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 |
Field Detail |
---|
protected ImageRegistry registry
protected boolean inverted
Constructor Detail |
---|
public OutlineItemsLabelProvider(EditorSite site)
site
- xmlAccess
- Method Detail |
---|
public void dispose()
dispose
in interface IBaseLabelProvider
dispose
in class LabelProvider
public Image getImage(Object obj)
getImage
in interface ILabelProvider
getImage
in class LabelProvider
obj
- must be instance of outline itempublic ImageRegistry getImageRegistry()
public String getText(Object obj)
getText
in interface ILabelProvider
getText
in class LabelProvider
public void setWithInvertedImages(boolean b)
b
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |