|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtensionPoint
This interface abstracts the extension point - a place where the functionality of plug-in can be extended.
Extension point UID is a combination of declaring plug-in ID and extension point ID that is unique within whole set of registered plug-ins.
Nested Class Summary | |
---|---|
static interface |
ExtensionPoint.ParameterDefinition
This interface abstracts parameter definition - a parameter "type declaration". |
Method Summary | |
---|---|
Extension |
getAvailableExtension(java.lang.String uniqueId)
|
java.util.Collection<Extension> |
getAvailableExtensions()
Returns a collection of all extensions that available for this point. |
Extension |
getConnectedExtension(java.lang.String uniqueId)
|
java.util.Collection<Extension> |
getConnectedExtensions()
Returns a collection of all extensions that was successfully "connected" to this point. |
java.util.Collection<ExtensionPoint> |
getDescendants()
Looks for all available (valid) successors of this extension point. |
ExtensionMultiplicity |
getMultiplicity()
|
ExtensionPoint.ParameterDefinition |
getParameterDefinition(java.lang.String id)
|
java.util.Collection<ExtensionPoint.ParameterDefinition> |
getParameterDefinitions()
Returns collection of all top level parameter definitions declared in this extension point and all it parents. |
java.lang.String |
getParentExtensionPointId()
|
java.lang.String |
getParentPluginId()
|
boolean |
isExtensionAvailable(java.lang.String uniqueId)
Checks if extension is available for this extension point. |
boolean |
isExtensionConnected(java.lang.String uniqueId)
Checks if extension is in valid state and successfully "connected" to this extension point. |
boolean |
isSuccessorOf(ExtensionPoint extensionPoint)
|
boolean |
isValid()
|
Methods inherited from interface org.java.plugin.registry.UniqueIdentity |
---|
getUniqueId |
Methods inherited from interface org.java.plugin.registry.Identity |
---|
getId |
Methods inherited from interface org.java.plugin.registry.PluginElement |
---|
getDeclaringPluginDescriptor, getDeclaringPluginFragment |
Methods inherited from interface org.java.plugin.registry.Identity |
---|
getId |
Methods inherited from interface org.java.plugin.registry.Documentable |
---|
getDocsPath, getDocumentation |
Method Detail |
---|
ExtensionMultiplicity getMultiplicity()
java.util.Collection<ExtensionPoint.ParameterDefinition> getParameterDefinitions()
ExtensionPoint.ParameterDefinition
objectsExtensionPoint.ParameterDefinition getParameterDefinition(java.lang.String id)
id
- ID of parameter definition to look for
java.util.Collection<Extension> getAvailableExtensions()
Extension
objectsExtension getAvailableExtension(java.lang.String uniqueId)
uniqueId
- unique ID of extension
boolean isExtensionAvailable(java.lang.String uniqueId)
true
, the method
getAvailableExtension(String)
should return valid extension for
the same UID.
uniqueId
- unique ID of extension
true
if extension is available for this extension
pointjava.util.Collection<Extension> getConnectedExtensions()
Extension
objectsExtension getConnectedExtension(java.lang.String uniqueId)
uniqueId
- unique ID of extension
boolean isExtensionConnected(java.lang.String uniqueId)
true
,
the method getConnectedExtension(String)
should return
valid extension for the same UID.
uniqueId
- unique ID of extension
true
if extension was successfully "connected" to
this extension pointboolean isValid()
true
if extension point is considered to be validjava.lang.String getParentPluginId()
null
java.lang.String getParentExtensionPointId()
null
boolean isSuccessorOf(ExtensionPoint extensionPoint)
extensionPoint
- extension point
true
if this point is successor of given extension
pointjava.util.Collection<ExtensionPoint> getDescendants()
ExtensionPoint
objects
|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |