|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.ImageRegistry
public final class ImageRegistry
The Image registry for the plugin
Creation : 24 mars 2005
| Method Summary | |
|---|---|
org.eclipse.swt.graphics.Image |
get(org.osgi.framework.Bundle b,
java.lang.String path)
Get the image from the given bundle and the plugin image path |
org.eclipse.swt.graphics.Image |
get(java.lang.String path)
get image by its path |
org.eclipse.swt.graphics.Image |
get(java.net.URL key)
Returns the image associated with the given key in this registry, or null if none. |
org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(org.osgi.framework.Bundle b,
java.lang.String path)
get image descriptor |
org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(java.lang.String path)
get image descriptor by its path |
org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(java.net.URL key)
Returns the descriptor associated with the given key in this registry, or null if none. |
static ImageRegistry |
getInstance()
get the instance of registry |
void |
remove(java.net.URL key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ImageRegistry getInstance()
public void remove(java.net.URL key)
public org.eclipse.swt.graphics.Image get(java.net.URL key)
null if none.
key - the key
null if nonepublic org.eclipse.jface.resource.ImageDescriptor getDescriptor(java.net.URL key)
null if none.
key - the key
null if none
public org.eclipse.swt.graphics.Image get(org.osgi.framework.Bundle b,
java.lang.String path)
b - the bundle where find the imagepath - the image path
public org.eclipse.jface.resource.ImageDescriptor getDescriptor(org.osgi.framework.Bundle b,
java.lang.String path)
b - path -
public org.eclipse.swt.graphics.Image get(java.lang.String path)
path -
public org.eclipse.jface.resource.ImageDescriptor getDescriptor(java.lang.String path)
path -
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.