|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractExtensionManager
org.topcased.modeler.extensions.DiagramsManager
public final class DiagramsManager
Class that stores the diagrams registered with the diagrams extension point.
Method Summary | |
---|---|
protected void |
addExtension(org.eclipse.core.runtime.IExtension extension)
|
DiagramDescriptor |
find(java.lang.String id)
Find a descriptor in the registry. |
IConfiguration |
getConfiguration(java.lang.String id)
Returns the Diagram configuration for the given id. |
DiagramDescriptor[] |
getDiagrams()
Get an enumeration of diagram descriptors. |
DiagramDescriptor[] |
getDiagrams(EObject containerEObject,
java.lang.String editorID)
Get an enumeration of diagram descriptors that can be associated with the given model object |
static DiagramsManager |
getInstance()
Get the shared instance. |
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 DiagramsManager getInstance()
public IConfiguration getConfiguration(java.lang.String id) throws org.eclipse.core.runtime.CoreException
id
- the diagram id
org.eclipse.core.runtime.CoreException
- is the class does not exist or cannot be loadedpublic DiagramDescriptor find(java.lang.String id)
id
- the searched diagram id
null
if not foundpublic DiagramDescriptor[] getDiagrams()
public DiagramDescriptor[] getDiagrams(EObject containerEObject, java.lang.String editorID)
containerEObject
- the model object
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.