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 org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
Decorators.final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
Designer images.final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
Images provided with this plug-in.final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
Workbench shared images.final org.eclipse.jface.resource.ImageDescriptor
final org.eclipse.jface.resource.ImageDescriptor
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.resource.ImageDescriptor
Gets an Image Descriptor image for a property class.org.eclipse.jface.resource.ImageDescriptor
Gets an icon Image Descriptor from the iiziGo Plugin's "icons" folder.org.eclipse.jface.resource.ImageDescriptor
Gets an icon Image Descriptor from the "icons" folder of the specified.static ImageRegistry
Gets the Image Registry.org.eclipse.jface.resource.ImageDescriptor
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, org.eclipse.jface.resource.ImageDescriptor descriptor) Registers images for property classes.boolean
remove
(org.eclipse.jface.resource.ImageDescriptor descriptor) Removes an image descriptor from the map of loaded ones.
Field Details
idIIZI
public final org.eclipse.jface.resource.ImageDescriptor idIIZIDesigner images.idErrorDecoration
public final org.eclipse.jface.resource.ImageDescriptor idErrorDecorationDecorators.idWarningDecoration
public final org.eclipse.jface.resource.ImageDescriptor idWarningDecorationidNewDecoration
public final org.eclipse.jface.resource.ImageDescriptor idNewDecorationidRequiredDecoration
public final org.eclipse.jface.resource.ImageDescriptor idRequiredDecorationidUndo
public final org.eclipse.jface.resource.ImageDescriptor idUndoWorkbench shared images.idUndoDisabled
public final org.eclipse.jface.resource.ImageDescriptor idUndoDisabledidRedo
public final org.eclipse.jface.resource.ImageDescriptor idRedoidRedoDisabled
public final org.eclipse.jface.resource.ImageDescriptor idRedoDisabledidCut
public final org.eclipse.jface.resource.ImageDescriptor idCutidCutDisabled
public final org.eclipse.jface.resource.ImageDescriptor idCutDisabledidCopy
public final org.eclipse.jface.resource.ImageDescriptor idCopyidCopyDisabled
public final org.eclipse.jface.resource.ImageDescriptor idCopyDisabledidPaste
public final org.eclipse.jface.resource.ImageDescriptor idPasteidPasteDisabled
public final org.eclipse.jface.resource.ImageDescriptor idPasteDisabledidDelete
public final org.eclipse.jface.resource.ImageDescriptor idDeleteidDeleteDisabled
public final org.eclipse.jface.resource.ImageDescriptor idDeleteDisabledidSave
public final org.eclipse.jface.resource.ImageDescriptor idSaveidSaveDisabled
public final org.eclipse.jface.resource.ImageDescriptor idSaveDisabledidRemove
public final org.eclipse.jface.resource.ImageDescriptor idRemoveidRemoveDisabled
public final org.eclipse.jface.resource.ImageDescriptor idRemoveDisabledidRemoveAll
public final org.eclipse.jface.resource.ImageDescriptor idRemoveAllidRemoveAllDisabled
public final org.eclipse.jface.resource.ImageDescriptor idRemoveAllDisabledidPasteBefore
public final org.eclipse.jface.resource.ImageDescriptor idPasteBeforeImages provided with this plug-in.idPasteBeforeDisabled
public final org.eclipse.jface.resource.ImageDescriptor idPasteBeforeDisabledidPasteAfter
public final org.eclipse.jface.resource.ImageDescriptor idPasteAfteridPasteAfterDisabled
public final org.eclipse.jface.resource.ImageDescriptor idPasteAfterDisabledidPasteLink
public final org.eclipse.jface.resource.ImageDescriptor idPasteLinkidPasteLinkDisabled
public final org.eclipse.jface.resource.ImageDescriptor idPasteLinkDisabledidSelectAll
public final org.eclipse.jface.resource.ImageDescriptor idSelectAllidSelectAllDisabled
public final org.eclipse.jface.resource.ImageDescriptor idSelectAllDisabledidPrint
public final org.eclipse.jface.resource.ImageDescriptor idPrintidPrintDisabled
public final org.eclipse.jface.resource.ImageDescriptor idPrintDisabledidRename
public final org.eclipse.jface.resource.ImageDescriptor idRenameidRenameDisabled
public final org.eclipse.jface.resource.ImageDescriptor idRenameDisabledidMove
public final org.eclipse.jface.resource.ImageDescriptor idMoveidMoveDisabled
public final org.eclipse.jface.resource.ImageDescriptor idMoveDisabledidLink
public final org.eclipse.jface.resource.ImageDescriptor idLinkidLinkDisabled
public final org.eclipse.jface.resource.ImageDescriptor idLinkDisabledidCollapseAll
public final org.eclipse.jface.resource.ImageDescriptor idCollapseAllidExpandAll
public final org.eclipse.jface.resource.ImageDescriptor idExpandAllidCopyReference
public final org.eclipse.jface.resource.ImageDescriptor idCopyReferenceidCopyReferenceDisabled
public final org.eclipse.jface.resource.ImageDescriptor idCopyReferenceDisabledidCopyFullPath
public final org.eclipse.jface.resource.ImageDescriptor idCopyFullPathidCopyFullPathDisabled
public final org.eclipse.jface.resource.ImageDescriptor 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
public void register(Class<? extends GProp<?>> propertyClass, org.eclipse.jface.resource.ImageDescriptor descriptor) 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
public boolean remove(org.eclipse.jface.resource.ImageDescriptor descriptor) Removes an image descriptor from the map of loaded ones.- Parameters:
descriptor
- The image descriptor.- Returns:
- true for removed, false if not removed.