|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.platform.AbstractExtension
org.eclipse.graphiti.ui.platform.AbstractImageProvider
public abstract class AbstractImageProvider
The Class AbstractImageProvider. Instead of implementing IImageProvider directly the clients should extend this AbstractImageProvider. They can simply override the method addAvailableImages().
| Field Summary | |
|---|---|
private Hashtable<String,String> |
htKeyImage
|
private String |
pluginId
|
| Constructor Summary | |
|---|---|
AbstractImageProvider()
Creates a new AbstractImageProvider. |
|
| Method Summary | |
|---|---|
protected abstract void |
addAvailableImages()
Add all available images with addImageFilePath(String imageId, String imageFilePath); |
protected void |
addImageFilePath(String imageId,
String imageFilePath)
Add image file path. |
String |
getImageFilePath(String imageId)
This is a method simply returns the location of the image file in the plug-in. |
String |
getPluginId()
|
void |
setPluginId(String pluginId)
Sets the pluginId. |
| Methods inherited from class org.eclipse.graphiti.platform.AbstractExtension |
|---|
getProviderId, setProviderId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.platform.IExtension |
|---|
getProviderId, setProviderId |
| Field Detail |
|---|
private String pluginId
private Hashtable<String,String> htKeyImage
| Constructor Detail |
|---|
public AbstractImageProvider()
AbstractImageProvider.
| Method Detail |
|---|
public final String getPluginId()
getPluginId in interface IImageProviderpublic final void setPluginId(String pluginId)
setPluginId in interface IImageProviderpluginId - The pluginId to set.public final String getImageFilePath(String imageId)
IImageProvider
getImageFilePath in interface IImageProvider
protected final void addImageFilePath(String imageId,
String imageFilePath)
imageId - the image idimageFilePath - the image file pathprotected abstract void addAvailableImages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||