Package com.e1c.g5.v8.dt.library.ui
Class LibraryUiSharedImages
- java.lang.Object
-
- com.e1c.g5.v8.dt.library.ui.LibraryUiSharedImages
-
public class LibraryUiSharedImages extends Object
Shared images of the Library UI plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIMG_LIBRARY_REPOSITORY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.swt.graphics.ImagegetImage(String id)Gets an image by its id.static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String id)Gets an image descriptor by its id.static voidinitializeImageRegistry(org.eclipse.jface.resource.ImageRegistry imageRegistry)Initializes the specified image registry.
-
-
-
Field Detail
-
IMG_LIBRARY_REPOSITORY
public static final String IMG_LIBRARY_REPOSITORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeImageRegistry
public static void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry imageRegistry)
Initializes the specified image registry.- Parameters:
imageRegistry- the image registry to initialize, cannot benull
-
getImage
public static org.eclipse.swt.graphics.Image getImage(String id)
Gets an image by its id.- Parameters:
id- the image identifier, cannot benull- Returns:
- the image or
null, if not found
-
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String id)
Gets an image descriptor by its id.- Parameters:
id- the image identifier, cannot benull- Returns:
- the image descriptor or
nullif not found
-
-