br.usp.iterador.plugin
Class ToolManager

java.lang.Object
  extended by br.usp.iterador.plugin.ToolManager

public class ToolManager
extends java.lang.Object

Tool manager.

Author:
Guilherme Silveira

Constructor Summary
ToolManager(Controller controller)
           
 
Method Summary
 void activateTool(Tool tool)
           
 Tool getCurrentTool()
           
 java.util.List<Tool> getTools()
          Returns all tools
 void installTools(Plugin plugin)
          Install all tools from this plugin
 void uninstallTools(Plugin plugin)
          Removes all tools related to this plugin and change the tool to the show point if needed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolManager

public ToolManager(Controller controller)
Method Detail

uninstallTools

public void uninstallTools(Plugin plugin)
Removes all tools related to this plugin and change the tool to the show point if needed

Parameters:
plugin - plugin

installTools

public void installTools(Plugin plugin)
Install all tools from this plugin

Parameters:
plugin - plugin

getTools

public java.util.List<Tool> getTools()
Returns all tools

Returns:
all tools

activateTool

public void activateTool(Tool tool)

getCurrentTool

public Tool getCurrentTool()


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.