|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.IProvider<T>
public abstract class IProvider<T>
Provides an object of type T. Used to populate the IBlackboard with default values.
This is used by the net.refractions.udig.project.provider extension point
Field Summary | |
---|---|
static java.lang.String |
XPID
Extension point id. |
Constructor Summary | |
---|---|
IProvider()
|
Method Summary | |
---|---|
IExtension |
getExtension()
|
java.lang.String |
getKey()
|
abstract java.lang.Class<T> |
getProvidee()
Returns the class of the object being provided. |
abstract T |
provide()
Signals the provider to provide an object of the specified class. |
void |
setExtension(IExtension extension)
Sets the extension that provier originated from. |
void |
setKey(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XPID
Constructor Detail |
---|
public IProvider()
Method Detail |
---|
public void setExtension(IExtension extension)
extension
- The extension in which the provider was instantiated.public IExtension getExtension()
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- the key that is used to identify the object being provided.public abstract java.lang.Class<T> getProvidee()
public abstract T provide()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |