org.graffiti.plugins.modes.advanced
Class RemoveBendsAction

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.RemoveBendsAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

Deprecated.

@Deprecated
public class RemoveBendsAction
extends SelectionAction

This is a special action for the popup menu. It removes all bends from one or more selected edges. If the mouse points on a selected edge, this edge's bends is removed. If the mouse does not point on an edge, the bends of all selected edges is removed.

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
RemoveBendsAction(MainFrame mf, AbstractEditingTool editingTool)
          Deprecated. Creates a new Remove Bends Action.
 
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 Remove Bends 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

RemoveBendsAction

public RemoveBendsAction(MainFrame mf,
                         AbstractEditingTool editingTool)
Deprecated. 
Creates a new Remove Bends Action.

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

isEnabled

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

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

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.

actionPerformed

public void actionPerformed(ActionEvent e)
Deprecated. 


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