public class XbaseLabelProvider extends DefaultEObjectLabelProvider
Constructor and Description |
---|
XbaseLabelProvider(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmAnnotationType annotationType) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmConstructor constructor) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmEnumerationType enumerationType) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmField field) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmFormalParameter parameter) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmGenericType genericType) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmOperation operation) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(JvmTypeParameter parameter) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(java.lang.Object element) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(XImportDeclaration importDeclaration) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(XImportSection importSection) |
protected org.eclipse.jface.resource.ImageDescriptor |
_imageDescriptor(XVariableDeclaration variableDeclaration) |
protected java.lang.Object |
doGetImage(java.lang.Object element)
Expected to be overridden by clients.
|
protected IBatchTypeResolver |
getTypeResolver() |
protected org.eclipse.jface.resource.ImageDescriptor |
imageDescriptor(java.lang.Object constructor) |
protected org.eclipse.jface.viewers.StyledString |
signature(java.lang.String simpleName,
JvmIdentifiableElement element) |
protected java.lang.String |
text(JvmConstructor constructor) |
protected java.lang.Object |
text(JvmField field) |
protected java.lang.String |
text(JvmFormalParameter parameter) |
protected java.lang.String |
text(JvmGenericType genericType) |
protected java.lang.Object |
text(JvmOperation element) |
protected java.lang.String |
text(XImportDeclaration it) |
protected java.lang.String |
text(XImportSection importSection) |
protected java.lang.String |
text(XVariableDeclaration variableDeclaration) |
doGetText, getLabelFeature
handleImageError, handleTextError, image, image, text, text
convertToImage, convertToImageDescriptor, convertToString, convertToStyledString, getDefaultImage, getDefaultStyledText, getDefaultText, getImage, getImageDescriptor, getStyledText, getText, setImageHelper
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
@Inject public XbaseLabelProvider(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(XImportSection importSection)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(XImportDeclaration importDeclaration)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmGenericType genericType)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmEnumerationType enumerationType)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmAnnotationType annotationType)
protected java.lang.String text(JvmGenericType genericType)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmOperation operation)
protected java.lang.Object text(JvmOperation element)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmConstructor constructor)
protected java.lang.String text(JvmConstructor constructor)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmField field)
protected java.lang.Object text(JvmField field)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmFormalParameter parameter)
protected java.lang.String text(JvmFormalParameter parameter)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(XVariableDeclaration variableDeclaration)
protected java.lang.String text(XImportDeclaration it)
protected java.lang.String text(XImportSection importSection)
protected java.lang.String text(XVariableDeclaration variableDeclaration)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(JvmTypeParameter parameter)
protected org.eclipse.jface.viewers.StyledString signature(java.lang.String simpleName, JvmIdentifiableElement element)
protected org.eclipse.jface.resource.ImageDescriptor _imageDescriptor(java.lang.Object element)
protected java.lang.Object doGetImage(java.lang.Object element)
AbstractLabelProvider
doGetImage
in class DeclarativeLabelProvider
String
, an ImageDescriptor
or an Image
passed to
AbstractLabelProvider.convertToImage(Object)
to determine the actual Image
.protected IBatchTypeResolver getTypeResolver()
protected org.eclipse.jface.resource.ImageDescriptor imageDescriptor(java.lang.Object constructor)