public class DefinitionMetaCompareLabelProvider extends DefinitionLabelProvider
DefinitionLabelProvider
, which can
handel instance metadatasConstructor and Description |
---|
DefinitionMetaCompareLabelProvider()
Create a label provider that will use short names for
EntityDefinition s. |
DefinitionMetaCompareLabelProvider(boolean longNames)
Create a label provider for
Definition s and
EntityDefinition . |
DefinitionMetaCompareLabelProvider(boolean longNames,
boolean suppressMandatory)
Create a label provider for
Definition s and
EntityDefinition . |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
org.eclipse.swt.graphics.Image |
getImage(Object element)
Returns an adjusted image depending on the type of the object passed in.
|
String |
getText(Object element) |
addListener, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public DefinitionMetaCompareLabelProvider()
EntityDefinition
s.public DefinitionMetaCompareLabelProvider(boolean longNames)
Definition
s and
EntityDefinition
.longNames
- if for EntityDefinition
s long names shall be
usedpublic DefinitionMetaCompareLabelProvider(boolean longNames, boolean suppressMandatory)
Definition
s and
EntityDefinition
.longNames
- if for EntityDefinition
s long names shall be
usedsuppressMandatory
- if the mandatory overlay for properties shall be
suppressed (defaults to false
)public String getText(Object element)
getText
in interface org.eclipse.jface.viewers.ILabelProvider
getText
in class DefinitionLabelProvider
DefinitionLabelProvider.getText(java.lang.Object)
public org.eclipse.swt.graphics.Image getImage(Object element)
DefinitionLabelProvider
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
getImage
in class DefinitionLabelProvider
DefinitionLabelProvider.getImage(java.lang.Object)
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
dispose
in class DefinitionLabelProvider
DefinitionLabelProvider.dispose()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a