|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageService
This interface provides services for the creation of images.
Method Summary | |
---|---|
ImageDescriptor |
getImageDescriptorForId(java.lang.String imageId)
Gets an image descriptor for the given image id. |
Image |
getImageForId(java.lang.String imageId)
Gets an image for the given image id. |
void |
removeImageFromRegistry(java.lang.String imageId)
Removes the corresponding image entry from the image registry and disposes the corresponding image (if existent). |
Method Detail |
---|
ImageDescriptor getImageDescriptorForId(java.lang.String imageId)
org.eclipse.graphiti.ui
is used. This ensures that the image
descriptor will only created once.
imageId
- the image id which is supported by an graphiti image provider
org.eclipse.jface.resource.ImageDescriptor
Image getImageForId(java.lang.String imageId)
org.eclipse.graphiti.ui
is used. This ensures that the image
will only created once. The image returned must not be disposed by the
caller.
imageId
- the image id which is supported by an graphiti image provider
org.eclipse.swt.graphics.Image
void removeImageFromRegistry(java.lang.String imageId)
org.eclipse.graphiti.ui
is used. Only call this
method if you can guarantee that the image/image descriptor is no longer
in use.
imageId
- the image id which is supported by an graphiti image providerorg.eclipse.swt.graphics.Image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |