org.topcased.search.ui.utils
Class ModelSearchImages
java.lang.Object
org.topcased.search.ui.utils.ModelSearchImages
public class ModelSearchImages
- extends java.lang.Object
A class defining a bundle of all images used by the System Editor plugin.
Method Summary |
static org.eclipse.swt.graphics.Image |
getErrorImage()
|
static org.eclipse.swt.graphics.Image |
getFileImage()
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(org.osgi.framework.Bundle bundle,
java.lang.String imagePath)
Get an ImageDescriptor from a bundle ID and image relative path to the given bundle location |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String imagePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICONS_PATH
public static final java.lang.String ICONS_PATH
- See Also:
- Constant Field Values
ERROR_IMAGE_PATH
public static final java.lang.String ERROR_IMAGE_PATH
- See Also:
- Constant Field Values
FILE_IMAGE_PATH
public static final java.lang.String FILE_IMAGE_PATH
- See Also:
- Constant Field Values
ModelSearchImages
public ModelSearchImages()
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String imagePath)
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(org.osgi.framework.Bundle bundle,
java.lang.String imagePath)
- Get an ImageDescriptor from a bundle ID and image relative path to the given bundle location
- Parameters:
bundle
- Given bundle ID wich location will be resolve as root to search images intoimagePath
- Relative path to the wanted image
- Returns:
- ImageDescriptor built from the image file, Empty non null ImageDescriptor otherwise
- See Also:
ImageDescriptor
getErrorImage
public static org.eclipse.swt.graphics.Image getErrorImage()
getFileImage
public static org.eclipse.swt.graphics.Image getFileImage()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.