Package org.graffiti.managers
Class DefaultToolManager
java.lang.Object
org.graffiti.managers.DefaultToolManager
- All Implemented Interfaces:
 PluginManagerListener,ToolManager
public class DefaultToolManager extends Object implements ToolManager
Manages the list of tools.
- Version:
 - $Revision: 1.5 $
 
- 
Constructor Summary
Constructors Constructor Description DefaultToolManager(ModeManager modeManager)Constructs a new tool manager. - 
Method Summary
Modifier and Type Method Description voidaddTool(Tool tool)Adds the specified tool to the list of tools of this manager.voidpluginAdded(GenericPlugin plugin, PluginDescription desc)Called by the plugin manager, iff a plugin has been added. 
- 
Constructor Details
- 
DefaultToolManager
Constructs a new tool manager. 
 - 
 - 
Method Details
- 
addTool
Description copied from interface:ToolManagerAdds the specified tool to the list of tools of this manager.- Specified by:
 addToolin interfaceToolManager- Parameters:
 tool- the tool to be added.
 - 
pluginAdded
Description copied from interface:PluginManagerListenerCalled by the plugin manager, iff a plugin has been added.- Specified by:
 pluginAddedin interfacePluginManagerListener- Parameters:
 plugin- the added plugin.desc- the description of the new plugin.
 
 -