org.graffiti.plugins.modes.advanced
Class AddBendToEdgeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.graffiti.plugin.actions.GraffitiAction
          extended by org.graffiti.plugin.actions.SelectionAction
              extended by org.graffiti.plugins.modes.advanced.AddBendToEdgeAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

Deprecated.

@Deprecated
public class AddBendToEdgeAction
extends SelectionAction

This is a special action for the popup menu. It creates a new bend and adds it to one or more selected edges. If the mouse points on a selected edge, a new bend is added to this edge at the mouse pointed position. If the mouse does not point on an edge, a new bend is added to all selected edges at the mouse pointed position.

Version:
$Revision: 5766 $ $Date: 2008-12-31 05:02:05 +0100 (Mi, 31 Dez 2008) $
Author:
Marek Piorkowski
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AddBendToEdgeAction(MainFrame mainFrame, AbstractEditingTool editingTool)
          Deprecated. Creates a new AddBendToEdgeAction.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Deprecated.  
 HelpContext getHelpContext()
          Deprecated. Returns the help context for this action.
 boolean isEnabled()
          Deprecated. Checks the enabled flag, which tells if the Add Bend button in the popup menu should be enabled
 
Methods inherited from class org.graffiti.plugin.actions.SelectionAction
surviveFocusChange
 
Methods inherited from class org.graffiti.plugin.actions.GraffitiAction
getName, setEnabled, update
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddBendToEdgeAction

public AddBendToEdgeAction(MainFrame mainFrame,
                           AbstractEditingTool editingTool)
Deprecated. 
Creates a new AddBendToEdgeAction.

Parameters:
mainFrame - The mainframe.
editingTool - The editing tool.
Method Detail

getHelpContext

public HelpContext getHelpContext()
Deprecated. 
Description copied from class: org.graffiti.plugin.actions.GraffitiAction
Returns the help context for this action.

Specified by:
getHelpContext in class GraffitiAction
Returns:
the help context for this action.

isEnabled

public boolean isEnabled()
Deprecated. 
Checks the enabled flag, which tells if the Add Bend button in the popup menu should be enabled

Specified by:
isEnabled in interface Action
Overrides:
isEnabled in class SelectionAction
Returns:
the enabled flag

actionPerformed

public void actionPerformed(ActionEvent e)
Deprecated. 


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