org.graffiti.editor.actions
Class DeleteActionListener

java.lang.Object
  extended by org.graffiti.editor.actions.DeleteActionListener
All Implemented Interfaces:
SelectionListener

public class DeleteActionListener
extends Object
implements SelectionListener

Class represents a listener, who is activated everytime the selection of the graph changes, due to enable or disable the Cut-, Copy- or Paste-Button correctly.

Author:
MH

Constructor Summary
DeleteActionListener(SelectionAction selectionAction)
          Creates a new SelectionActionListener
 
Method Summary
 void selectionChanged(SelectionEvent e)
          Calls the update-method of the SelectionAction-class, which checks if the Cut-, Copy- or Paste-Button has to be enabled or disabled
 void selectionListChanged(SelectionEvent e)
          Calls the update-method of the SelectionAction-class, which checks if the Cut-, Copy- or Paste-Button has to be enabled or disabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteActionListener

public DeleteActionListener(SelectionAction selectionAction)
Creates a new SelectionActionListener

Parameters:
selectionAction - the SelectionAction which creates the Listener
Method Detail

selectionChanged

public void selectionChanged(SelectionEvent e)
Calls the update-method of the SelectionAction-class, which checks if the Cut-, Copy- or Paste-Button has to be enabled or disabled

Specified by:
selectionChanged in interface SelectionListener
Parameters:
e - not used

selectionListChanged

public void selectionListChanged(SelectionEvent e)
Calls the update-method of the SelectionAction-class, which checks if the Cut-, Copy- or Paste-Button has to be enabled or disabled

Specified by:
selectionListChanged in interface SelectionListener
Parameters:
e - not used


Generated at 2012-05-30 11:00:36 PM CEST