Class PropertiesUiSharedImages


  • public final class PropertiesUiSharedImages
    extends Object
    Shared images for properties.
    • Field Detail

      • IMG_PROPERTY_PALETTE_DISPLAY_ALPHA

        public static final String IMG_PROPERTY_PALETTE_DISPLAY_ALPHA
        Key for display alphabetically image.
      • IMG_PROPERTY_PALETTE_DISPLAY_CATEGORIES

        public static final String IMG_PROPERTY_PALETTE_DISPLAY_CATEGORIES
        Key for display categories image.
    • Constructor Detail

      • PropertiesUiSharedImages

        public PropertiesUiSharedImages()
    • Method Detail

      • getImageDescriptor

        public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor​(String key)
        Returns image descriptor for given key.
        Parameters:
        key - - key to get image descriptor. See PropertiesUiPlugin. Cannot be null.
        Returns:
        image descriptor for given key or null if there is no image descriptor.
      • getImage

        public static org.eclipse.swt.graphics.Image getImage​(String key)
        Returns image for given key.
        Parameters:
        key - - key to get image. See PropertiesUiPlugin. Cannot be null.
        Returns:
        image for given key or null if there is no image.
      • initializeImageRegistry

        public static void initializeImageRegistry​(org.eclipse.jface.resource.ImageRegistry reg)
        Initializes image registry.
        Parameters:
        reg - - registry to put images to. Cannot be null.