Generators

org.topcased.modeler.diagramconfigurator.extension
Class FigureDeclarationsManager

java.lang.Object
  extended by AbstractExtensionManager
      extended by org.topcased.modeler.diagramconfigurator.extension.FigureDeclarationsManager

public final class FigureDeclarationsManager
extends AbstractExtensionManager

Class that stores the FigureDeclarations registered with the figureDeclarations extension point. Creation 30 juin 06


Method Summary
protected  void addExtension(org.eclipse.core.runtime.IExtension extension)
           
 FigureDeclarationDescriptor find(java.lang.String name)
          Find a descriptor in the registry.
 java.util.List<java.lang.String> getFigureDeclarationNames()
          Get the list of all the name of the FigureDeclaration descriptors.
 FigureDeclarationDescriptor[] getFigureDeclarations()
          Get an enumeration of FigureDeclaration descriptors.
static FigureDeclarationsManager 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

getInstance

public static FigureDeclarationsManager getInstance()
Get the shared instance.

Returns:
the figureDeclarations manager

find

public FigureDeclarationDescriptor find(java.lang.String name)
Find a descriptor in the registry.

Parameters:
name - the searched figureDeclaration name
Returns:
the figureDeclaration or null if not found

getFigureDeclarations

public FigureDeclarationDescriptor[] getFigureDeclarations()
Get an enumeration of FigureDeclaration descriptors.

Returns:
The registered figureDeclarations

getFigureDeclarationNames

public java.util.List<java.lang.String> getFigureDeclarationNames()
Get the list of all the name of the FigureDeclaration descriptors.

Returns:
The name of the registered figureDeclarations

addExtension

protected void addExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#addExtension(org.eclipse.core.runtime.IExtension)

removeExtension

protected void removeExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#removeExtension(org.eclipse.core.runtime.IExtension)

Generators

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.