org.graffiti.managers
Class AttributeComponentManager

java.lang.Object
  extended by org.graffiti.managers.AttributeComponentManager
All Implemented Interfaces:
PluginManagerListener

public class AttributeComponentManager
extends Object
implements PluginManagerListener

Contains the mapping between attribute classes and their representation as AttributeComponent classes.

Version:
$Revision: 5768 $
Author:
ph

Constructor Summary
AttributeComponentManager()
          Constructs an AttributeComponentManager.
 
Method Summary
 AttributeComponent getAttributeComponent(Class<?> aType)
          Returns an instance of the AttributeComponent that is capable of drawing the attribute with type aType.
 Map<Class<?>,Class<?>> getAttributeComponents()
          Returns the map of attribute components.
 void pluginAdded(GenericPlugin plugin, PluginDescription desc)
          Called by the plugin manager, iff a plugin has been added.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeComponentManager

public AttributeComponentManager()
Constructs an AttributeComponentManager.

Method Detail

getAttributeComponent

public AttributeComponent getAttributeComponent(Class<?> aType)
                                         throws AttributeComponentNotFoundException
Returns an instance of the AttributeComponent that is capable of drawing the attribute with type aType.

Parameters:
aType - the class of the attribute to retrieve a component for.
Returns:
an instance of an AttributeComponent.
Throws:
AttributeComponentNotFoundException - DOCUMENT ME!

getAttributeComponents

public Map<Class<?>,Class<?>> getAttributeComponents()
Returns the map of attribute components.

Returns:
DOCUMENT ME!

pluginAdded

public void pluginAdded(GenericPlugin plugin,
                        PluginDescription desc)
Called by the plugin manager, iff a plugin has been added.

Specified by:
pluginAdded in interface PluginManagerListener
Parameters:
plugin - the added plugin.
desc - the description of the new plugin.


Generated at 2012-05-30 11:00:36 PM CEST