public final class EEFImageUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<org.eclipse.swt.graphics.Image> |
getImage(java.lang.String imgPath)
Retrieve an image from a string path as '/resource/folder/image.png'.
|
static java.util.Optional<org.eclipse.jface.resource.ImageDescriptor> |
getImageDescriptor(java.lang.String imgPath)
Retrieve an image descriptor from a string path as '/resource/folder/image.png'.
|
public static java.util.Optional<org.eclipse.swt.graphics.Image> getImage(java.lang.String imgPath)
imgPath - The image pathpublic static java.util.Optional<org.eclipse.jface.resource.ImageDescriptor> getImageDescriptor(java.lang.String imgPath)
imgPath - The image path