protected class AbstractJFaceTreeRenderer.TreeTableLabelProvider
extends org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
implements org.eclipse.emf.edit.provider.ITableItemLabelProvider
org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.ColorProvider, org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.FontAndColorProvider, org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.FontProvider
Constructor and Description |
---|
TreeTableLabelProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
org.eclipse.jface.viewers.TreeViewer treeViewer)
Instantiates a new tree table label provider.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Image |
getColumnImage(Object object,
int columnIndex)
This implements
ITableLabelProvider .getColumnImage by forwarding it to an object that implements
ITableItemLabelProvider.getColumnImage or failing that, an object
that implements IItemLabelProvider.getImage where the columnIndex is ignored. |
String |
getColumnText(Object object,
int columnIndex)
This implements
ITableLabelProvider .getColumnText by forwarding it to an object that implements
ITableItemLabelProvider.getColumnText or failing that, an object
that implements IItemLabelProvider.getText where the columnIndex are is
ignored. |
org.eclipse.swt.graphics.Image |
getImage(Object object)
This implements
ILabelProvider .getImage by forwarding it to an object that
implements IItemLabelProvider.getImage |
String |
getText(Object object)
This implements
ILabelProvider .getText by forwarding it to an object that implements
IItemLabelProvider.getText |
protected org.eclipse.swt.graphics.Image |
getValidationOverlay(org.eclipse.swt.graphics.Image image,
VElement categorization)
This method generated an image with a validation overlay if necessary.
|
addListener, dispose, fireLabelProviderChanged, getAdapterFactory, getBackground, getBackground, getColorFromObject, getDefaultBackground, getDefaultFont, getDefaultForeground, getDefaultImage, getFont, getFont, getFontFromObject, getForeground, getForeground, getImageFromObject, isFireLabelUpdateNotifications, isLabelProperty, notifyChanged, removeListener, setAdapterFactory, setDefaultBackground, setDefaultFont, setDefaultForeground, setFireLabelUpdateNotifications
public TreeTableLabelProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory, org.eclipse.jface.viewers.TreeViewer treeViewer)
adapterFactory
- the adapter factorytreeViewer
- the tree viewerpublic String getColumnText(Object object, int columnIndex)
org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
ITableLabelProvider
.getColumnText by forwarding it to an object that implements
ITableItemLabelProvider.getColumnText
or failing that, an object
that implements IItemLabelProvider.getText
where the columnIndex are is
ignored.getColumnText
in interface org.eclipse.emf.edit.provider.ITableItemLabelProvider
getColumnText
in interface org.eclipse.jface.viewers.ITableLabelProvider
getColumnText
in class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
public String getText(Object object)
ILabelProvider
.getText by forwarding it to an object that implements
IItemLabelProvider.getText
getText
in interface org.eclipse.jface.viewers.ILabelProvider
getText
in class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
AdapterFactoryLabelProvider.getText(java.lang.Object)
public org.eclipse.swt.graphics.Image getColumnImage(Object object, int columnIndex)
org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
ITableLabelProvider
.getColumnImage by forwarding it to an object that implements
ITableItemLabelProvider.getColumnImage
or failing that, an object
that implements IItemLabelProvider.getImage
where the columnIndex is ignored.getColumnImage
in interface org.eclipse.emf.edit.provider.ITableItemLabelProvider
getColumnImage
in interface org.eclipse.jface.viewers.ITableLabelProvider
getColumnImage
in class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
public org.eclipse.swt.graphics.Image getImage(Object object)
ILabelProvider
.getImage by forwarding it to an object that
implements IItemLabelProvider.getImage
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
getImage
in class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
AdapterFactoryLabelProvider.getImage(java.lang.Object)
protected org.eclipse.swt.graphics.Image getValidationOverlay(org.eclipse.swt.graphics.Image image, VElement categorization)
image
- the image to overlaycategorization
- the VElement
to get the validation forCopyright © 2019. All rights reserved.