net.refractions.udig.project.ui.tool
Class AbstractToolCommandHandler

java.lang.Object
  extended by AbstractHandler
      extended by net.refractions.udig.project.ui.tool.AbstractToolCommandHandler
All Implemented Interfaces:
IToolHandler

public abstract class AbstractToolCommandHandler
extends AbstractHandler
implements IToolHandler

A convenience class.

Since:
1.1.0
Author:
Jesse

Constructor Summary
AbstractToolCommandHandler()
           
 
Method Summary
 java.lang.String getCurrentCommandId()
           
 Tool getCurrentTool()
           
 void setCurrentCommandId(java.lang.String currentCommandId)
          Called before any of the IHandler methods are called.
 void setTool(Tool tool)
          Called before any of the IHandler methods are called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractToolCommandHandler

public AbstractToolCommandHandler()
Method Detail

setTool

public void setTool(Tool tool)
Description copied from interface: IToolHandler
Called before any of the IHandler methods are called.

Specified by:
setTool in interface IToolHandler

setCurrentCommandId

public void setCurrentCommandId(java.lang.String currentCommandId)
Description copied from interface: IToolHandler
Called before any of the IHandler methods are called.

Specified by:
setCurrentCommandId in interface IToolHandler

getCurrentTool

public Tool getCurrentTool()
Returns:
Returns the currentTool.

getCurrentCommandId

public java.lang.String getCurrentCommandId()
Returns:
Returns the currentCommandId.