|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.stp.core.internal.RegistryReader
org.eclipse.stp.core.internal.introspection.ComponentTypeIntrospectorRegistry
public class ComponentTypeIntrospectorRegistry
This registry consumes the 'componentTypeIntrospector' extension point.
The introspectors are searched first by scheme and then by extension. If an introspector is registered for both the scheme and the extension, the scheme is given priority.
Clients should not require access to the registry (indeed it is not API).
Clients should refer to
IModelIntrospectionManager
.
Constructor Summary | |
---|---|
ComponentTypeIntrospectorRegistry()
Create the registry for the STPCorePlugin.PLUGIN_ID and COMPONENT_TYPE_INTROSPECTOR extension point. |
Method Summary | |
---|---|
IComponentTypeIntrospector |
createAndBindIntrospector(ComponentType aComponentType,
org.eclipse.emf.common.util.URI implementation)
Creates an IComponentTypeIntrospector for the implementation URI. |
IComponentTypeIntrospector |
createIntrospector(Implementation implementation)
Creates an IComponentTypeIntrospector for the implementation URI. |
static ComponentTypeIntrospectorRegistry |
getInstance()
|
IShareableComponentTypeFactory |
getShareableFactory(Implementation implementation)
This method assumes that the Implementation is contained so that it can check the FeatureMap of the containing model element. |
org.eclipse.emf.common.util.URI |
getShareableURI(Implementation anImplementation)
|
boolean |
hasIntrospector(org.eclipse.emf.common.util.URI implementation)
|
Methods inherited from class org.eclipse.stp.core.internal.RegistryReader |
---|
getClassValue, getDescription, orderExtensions, readRegistry, readRegistry |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentTypeIntrospectorRegistry()
Method Detail |
---|
public static ComponentTypeIntrospectorRegistry getInstance()
public boolean hasIntrospector(org.eclipse.emf.common.util.URI implementation)
implementation
- The implementation URI that may have a registered introspector
available.
public org.eclipse.emf.common.util.URI getShareableURI(Implementation anImplementation)
public IComponentTypeIntrospector createAndBindIntrospector(ComponentType aComponentType, org.eclipse.emf.common.util.URI implementation)
aComponentType
- The ComponentType to add the bind (e.g. add the Introspector
to).implementation
- The implementation URI of the relevant ComponentType
public IComponentTypeIntrospector createIntrospector(Implementation implementation)
implementation
- The implementation URI of the relevant ComponentType
public IShareableComponentTypeFactory getShareableFactory(Implementation implementation)
implementation
- The implementation which has a feature that can be used to
search the registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |