|
||||||||||
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
org.eclipse.cdt.ui.CElementLabelProvider
public class CElementLabelProvider
The label provider for the c model elements.
Field Summary | |
---|---|
static int |
SHOW_BASICS
Constant (value 0 ) indicating that the label should show
the basic images only. |
static int |
SHOW_DEFAULT
|
static int |
SHOW_EXCEPTION
Flag (bit mask) indicating that method label include thrown exception. |
static int |
SHOW_OVERLAY_ICONS
Flag (bit mask) indicating that the label should include overlay icons for element type and modifiers. |
static int |
SHOW_PARAMETERS
Flag (bit mask) indicating that method label include method parameter types. |
static int |
SHOW_POST_QUALIFIED
Flag (bit mask) indicating that Complation Units, Class Files, Types, Declarations and Members should be rendered qualified. |
static int |
SHOW_QUALIFIED
Flag (bit mask) indicating that Complation Units, Class Files, Types, Declarations and Members should be rendered qualified. |
static int |
SHOW_RETURN_TYPE
Flag (bit mask) indicating that methods labels include the method return type. |
static int |
SHOW_SMALL_ICONS
Flag (bit mask) indicating that the label should show the icons with no space reserved for overlays. |
Constructor Summary | |
---|---|
CElementLabelProvider()
|
|
CElementLabelProvider(int flags)
|
Method Summary | |
---|---|
void |
dispose()
|
org.eclipse.swt.graphics.Image |
getImage(java.lang.Object element)
|
int |
getImageFlags()
Gets the image flags. |
java.lang.String |
getText(java.lang.Object element)
|
int |
getTextFlags()
Gets the text flags. |
Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
---|
addListener, isLabelProperty, removeListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHOW_RETURN_TYPE
public static final int SHOW_PARAMETERS
public static final int SHOW_EXCEPTION
public static final int SHOW_SMALL_ICONS
public static final int SHOW_OVERLAY_ICONS
public static final int SHOW_QUALIFIED
public static final int SHOW_POST_QUALIFIED
public static final int SHOW_BASICS
0
) indicating that the label should show
the basic images only.
public static final int SHOW_DEFAULT
Constructor Detail |
---|
public CElementLabelProvider()
public CElementLabelProvider(int flags)
Method Detail |
---|
public java.lang.String getText(java.lang.Object element)
getText
in interface org.eclipse.jface.viewers.ILabelProvider
getText
in class org.eclipse.jface.viewers.LabelProvider
public org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
getImage
in class org.eclipse.jface.viewers.LabelProvider
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
dispose
in class org.eclipse.jface.viewers.LabelProvider
public int getImageFlags()
public int getTextFlags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |