public class XbaseImages2
extends java.lang.Object
ImageDescriptor
s instead of
Image
s. Use XbaseImageAdornments
for calculating adornments.Constructor and Description |
---|
XbaseImages2() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.resource.ImageDescriptor |
forAnnotation(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forClass(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forConstructor(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forEnum(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forField(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forImport() |
org.eclipse.jface.resource.ImageDescriptor |
forImportContainer() |
org.eclipse.jface.resource.ImageDescriptor |
forInterface(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forLocalVariable(int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forOperation(JvmVisibility visibility,
int adornments) |
org.eclipse.jface.resource.ImageDescriptor |
forTypeParameter(int adornments) |
protected org.eclipse.jface.resource.ImageDescriptor |
getDecorated(org.eclipse.jface.resource.ImageDescriptor baseImage,
int adornments) |
protected org.eclipse.swt.graphics.Point |
imagesSize()
Possible Values:
JavaElementImageProvider.SMALL_SIZE
JavaElementImageProvider.BIG_SIZE |
protected int |
toFlags(JvmVisibility visibility) |
public org.eclipse.jface.resource.ImageDescriptor forImportContainer()
public org.eclipse.jface.resource.ImageDescriptor forImport()
public org.eclipse.jface.resource.ImageDescriptor forClass(JvmVisibility visibility, int adornments)
visibility
- the visibility of the classadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forInterface(JvmVisibility visibility, int adornments)
visibility
- the visibility of the interfaceadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forEnum(JvmVisibility visibility, int adornments)
visibility
- the visibility of the enumadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forAnnotation(JvmVisibility visibility, int adornments)
visibility
- the visibility of the annotation typeadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forConstructor(JvmVisibility visibility, int adornments)
visibility
- the visibility of the constructoradornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forOperation(JvmVisibility visibility, int adornments)
visibility
- the visibility of the operationadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forField(JvmVisibility visibility, int adornments)
visibility
- the visibility of the fieldadornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forLocalVariable(int adornments)
adornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationspublic org.eclipse.jface.resource.ImageDescriptor forTypeParameter(int adornments)
adornments
- OR-ed flags from JavaElementImageDescriptor
to denote decorationsprotected org.eclipse.jface.resource.ImageDescriptor getDecorated(org.eclipse.jface.resource.ImageDescriptor baseImage, int adornments)
protected org.eclipse.swt.graphics.Point imagesSize()
JavaElementImageProvider.SMALL_SIZE
JavaElementImageProvider.BIG_SIZE
protected int toFlags(JvmVisibility visibility)