Package com._1c.g5.properties.ui
Class PropertiesUiSharedImages
- java.lang.Object
-
- com._1c.g5.properties.ui.PropertiesUiSharedImages
-
public final class PropertiesUiSharedImages extends Object
Shared images for properties.
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMG_PROPERTY_PALETTE_DISPLAY_ALPHA
Key for display alphabetically image.static String
IMG_PROPERTY_PALETTE_DISPLAY_CATEGORIES
Key for display categories image.
-
Constructor Summary
Constructors Constructor Description PropertiesUiSharedImages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.swt.graphics.Image
getImage(String key)
Returns image for given key.static org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String key)
Returns image descriptor for given key.static void
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
Initializes image registry.
-
-
-
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. SeePropertiesUiPlugin
. Cannot benull
.- 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. SeePropertiesUiPlugin
. Cannot benull
.- 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 benull
.
-
-