gate.gui
Class AnnotationEditor.EditAnnotationAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--gate.gui.AnnotationEditor.EditAnnotationAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Enclosing class:
AnnotationEditor

protected class AnnotationEditor.EditAnnotationAction
extends AbstractAction

The action that is fired when the user wants to edit an annotation. This will show a AnnotationEditDialog to allow the user to do the editing.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
AbstractAction.ArrayTable
 
Field Summary
protected  Annotation ann
          This represent the annotation to be modified
protected  AnnotationSet set
          The annotation set that ann belongs
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AnnotationEditor.EditAnnotationAction(Annotation ann, AnnotationSet set)
          Constructs an EditAnnotAction from an annotation and a set
 
Method Summary
 void actionPerformed(ActionEvent e)
          This method takes care of how the annotation is editted
private  void editWithCustomEditor()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ann

protected Annotation ann
This represent the annotation to be modified

set

protected AnnotationSet set
The annotation set that ann belongs
Constructor Detail

AnnotationEditor.EditAnnotationAction

public AnnotationEditor.EditAnnotationAction(Annotation ann,
                                             AnnotationSet set)
Constructs an EditAnnotAction from an annotation and a set
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
This method takes care of how the annotation is editted
Overrides:
actionPerformed in class AbstractAction

editWithCustomEditor

private void editWithCustomEditor()