|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractExtensionManager
org.topcased.modeler.extensions.RegisteredModelManager
public class RegisteredModelManager
Class that stores the validators registered with the validators extension point.
Method Summary | |
---|---|
protected void |
addExtension(org.eclipse.core.runtime.IExtension extension)
|
CategoryDescriptor |
findCategory(java.lang.String id)
Find a descriptor in the registry. |
RegisteredModelDescriptor |
findRegisteredModel(java.lang.String path)
Find a descriptor in the registry. |
static RegisteredModelManager |
getInstance()
Get the shared instance. |
RegisteredModelDescriptor[] |
getRegisteredModels()
Get an enumeration of model descriptors. |
RegisteredModelDescriptor[] |
getRegisteredModels(java.lang.String uri)
Get an enumeration of model descriptors that are valid for the given metamodel. |
protected void |
removeExtension(org.eclipse.core.runtime.IExtension extension)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RegisteredModelManager getInstance()
public CategoryDescriptor findCategory(java.lang.String id)
id
- the searched category id
null
if not foundpublic RegisteredModelDescriptor findRegisteredModel(java.lang.String path)
path
- the searched model path
null
if not foundpublic RegisteredModelDescriptor[] getRegisteredModels()
public RegisteredModelDescriptor[] getRegisteredModels(java.lang.String uri)
uri
- the uri of a metamodel
protected void addExtension(org.eclipse.core.runtime.IExtension extension)
org.topcased.facilities.extensions.AbstractExtensionManager#addExtension(org.eclipse.core.runtime.IExtension)
protected void removeExtension(org.eclipse.core.runtime.IExtension extension)
org.topcased.facilities.extensions.AbstractExtensionManager#removeExtension(org.eclipse.core.runtime.IExtension)
|
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.