public class ValidationLabelProvider extends Object implements org.eclipse.jface.viewers.ITableLabelProvider
ITableLabelProvider
for displaying Diagnostics
in a Tree with
columns.Constructor and Description |
---|
ValidationLabelProvider()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
void |
dispose() |
org.eclipse.swt.graphics.Image |
getColumnImage(Object element,
int columnIndex) |
String |
getColumnText(Object element,
int columnIndex) |
protected String |
getFeatureName(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature)
Get the localized name of a
feature of an object. |
boolean |
isLabelProperty(Object element,
String property) |
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
addListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
IBaseLabelProvider.addListener(org.eclipse.jface.viewers.ILabelProviderListener)
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
IBaseLabelProvider.dispose()
public boolean isLabelProperty(Object element, String property)
isLabelProperty
in interface org.eclipse.jface.viewers.IBaseLabelProvider
IBaseLabelProvider.isLabelProperty(java.lang.Object, java.lang.String)
public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
removeListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
IBaseLabelProvider.removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
public org.eclipse.swt.graphics.Image getColumnImage(Object element, int columnIndex)
getColumnImage
in interface org.eclipse.jface.viewers.ITableLabelProvider
ITableLabelProvider.getColumnImage(java.lang.Object, int)
public String getColumnText(Object element, int columnIndex)
getColumnText
in interface org.eclipse.jface.viewers.ITableLabelProvider
ITableLabelProvider.getColumnText(java.lang.Object, int)
protected String getFeatureName(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature)
feature
of an object.owner
- the object that owns the feature
feature
- the feature for which to get the localized nameCopyright © 2019. All rights reserved.