org.graffiti.plugins.modes.advanced
Class ToolPlugin

java.lang.Object
  extended by org.graffiti.plugin.GenericPluginAdapter
      extended by org.graffiti.plugin.EditorPluginAdapter
          extended by org.graffiti.plugins.modes.advanced.ToolPlugin
All Implemented Interfaces:
EditorPlugin, GenericPlugin, FunctionComponent

Deprecated.

@Deprecated
public class ToolPlugin
extends EditorPluginAdapter
implements FunctionComponent

Plugin-class for the so-called advanced editing tools.


Constructor Summary
ToolPlugin()
          Deprecated. Constructs the plugin
 
Method Summary
 void afterEvent(Point position)
          Deprecated. DOCUMENT ME!
 void beforeEvent(Point position)
          Deprecated. DOCUMENT ME!
 void configure(Preferences prefs)
          Deprecated. Sets the preferences in all tools this plugin provides.
 AbstractEditingTool getActiveTool()
          Deprecated. Returns the tool currently active, if any, null otherwise.
 FunctionAction getFunctionAction(String functionName)
          Deprecated. DOCUMENT ME!
 PositionInfo getPositionInfo()
          Deprecated. DOCUMENT ME!
 FunctionComponent getSubComponent(String name)
          Deprecated. DOCUMENT ME!
 void setActiveTool(AbstractEditingTool tool)
          Deprecated. Sets the tool currently active.
 
Methods inherited from class org.graffiti.plugin.EditorPluginAdapter
getAttributeComponents, getGUIComponents, getShapes, getValueEditComponents
 
Methods inherited from class org.graffiti.plugin.GenericPluginAdapter
addJSeparatorAfterAlgorithm, doBeforeExit, getAlgorithms, getAttributes, getDependencies, getIcon, getInputSerializers, getName, getOutputSerializers, getPathInformation, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.GenericPlugin
addJSeparatorAfterAlgorithm, doBeforeExit, getAlgorithms, getAttributes, getDependencies, getIcon, getInputSerializers, getName, getOutputSerializers, getPathInformation, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
 

Constructor Detail

ToolPlugin

public ToolPlugin()
Deprecated. 
Constructs the plugin

Method Detail

setActiveTool

public void setActiveTool(AbstractEditingTool tool)
Deprecated. 
Sets the tool currently active.

Parameters:
tool - the new tool currently active, null if none exists

getActiveTool

public AbstractEditingTool getActiveTool()
Deprecated. 
Returns the tool currently active, if any, null otherwise.

Returns:
returns the tool currently active, if any, null otherwise.

getFunctionAction

public FunctionAction getFunctionAction(String functionName)
Deprecated. 
DOCUMENT ME!

Specified by:
getFunctionAction in interface FunctionComponent
Parameters:
functionName - DOCUMENT ME!
Returns:
DOCUMENT ME!

getPositionInfo

public PositionInfo getPositionInfo()
Deprecated. 
DOCUMENT ME!

Specified by:
getPositionInfo in interface FunctionComponent
Returns:
DOCUMENT ME!

getSubComponent

public FunctionComponent getSubComponent(String name)
Deprecated. 
DOCUMENT ME!

Specified by:
getSubComponent in interface FunctionComponent
Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!

afterEvent

public void afterEvent(Point position)
Deprecated. 
DOCUMENT ME!

Specified by:
afterEvent in interface FunctionComponent
Parameters:
position - DOCUMENT ME!

beforeEvent

public void beforeEvent(Point position)
Deprecated. 
DOCUMENT ME!

Specified by:
beforeEvent in interface FunctionComponent
Parameters:
position - DOCUMENT ME!

configure

public void configure(Preferences prefs)
Deprecated. 
Sets the preferences in all tools this plugin provides.

Specified by:
configure in interface GenericPlugin
Overrides:
configure in class GenericPluginAdapter
Parameters:
prefs - the preferences node for this plugin.
See Also:
GenericPlugin.configure(Preferences)


Generated at 2012-05-30 11:01:25 PM CEST