Package com.iizigo
Class ImageRegistry
java.lang.Object
com.iizigo.ImageRegistry
The Image Registry holds information about Image Descriptors and Image instances.
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionfinal ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
Decorators.final ImageDescriptor
final ImageDescriptor
Designer images.final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
Images provided with this plug-in.final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
final ImageDescriptor
Workbench shared images.final ImageDescriptor
final ImageDescriptor
Method Summary
Modifier and TypeMethodDescriptionGets an Image Descriptor image for a property class.Gets an icon Image Descriptor from the iiziGo Plugin's "icons" folder.Gets an icon Image Descriptor from the "icons" folder of the specified.static ImageRegistry
Gets the Image Registry.getWorkbenchShared
(String name) Loads a workbench Image from its symbolic name defined in org.eclipse.ui.ISharedImages.void
Registers images for property classes.void
register
(Class<? extends GProp<?>> propertyClass, ImageDescriptor descriptor) Registers images for property classes.boolean
remove
(ImageDescriptor descriptor) Removes an image descriptor from the map of loaded ones.
Field Details
idIIZI
Designer images.idErrorDecoration
Decorators.idWarningDecoration
idNewDecoration
idRequiredDecoration
idUndo
Workbench shared images.idUndoDisabled
idRedo
idRedoDisabled
idCut
idCutDisabled
idCopy
idCopyDisabled
idPaste
idPasteDisabled
idDelete
idDeleteDisabled
idSave
idSaveDisabled
idRemove
idRemoveDisabled
idRemoveAll
idRemoveAllDisabled
idPasteBefore
Images provided with this plug-in.idPasteBeforeDisabled
idPasteAfter
idPasteAfterDisabled
idPasteLink
idPasteLinkDisabled
idSelectAll
idSelectAllDisabled
idPrint
idPrintDisabled
idRename
idRenameDisabled
idMove
idMoveDisabled
idLink
idLinkDisabled
idCollapseAll
idExpandAll
idCopyReference
idCopyReferenceDisabled
idCopyFullPath
idCopyFullPathDisabled
Method Details
getInstance
Gets the Image Registry.- Returns:
- The ImageRegistry singleton.
register
Registers images for property classes.- Parameters:
propertyClass
- The property class.fileName
- The file name of the image, relative the "icons" folder.
register
Registers images for property classes.- Parameters:
propertyClass
- The property class.descriptor
- The image descriptor.
get
Gets an Image Descriptor image for a property class.- Parameters:
propertyClass
- The property class.- Returns:
- The Image Descriptor or null for none.
get
Gets an icon Image Descriptor from the iiziGo Plugin's "icons" folder.- Parameters:
fileName
- A file name (or relative path to file).- Returns:
- The Image Descriptor.
get
Gets an icon Image Descriptor from the "icons" folder of the specified.- Parameters:
pluginID
- The plugin ID for where to retrieve the icon ImageDescriptor.fileName
- A file name (or relative path to file).- Returns:
- The Image Descriptor.
remove
Removes an image descriptor from the map of loaded ones.- Parameters:
descriptor
- The image descriptor.- Returns:
- true for removed, false if not removed.