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
Field Summary |
protected Annotation |
ann
This represent the annotation to be modified |
protected AnnotationSet |
set
The annotation set that ann belongs |
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 |
ann
protected Annotation ann
- This represent the annotation to be modified
set
protected AnnotationSet set
- The annotation set that ann belongs
AnnotationEditor.EditAnnotationAction
public AnnotationEditor.EditAnnotationAction(Annotation ann,
AnnotationSet set)
- Constructs an EditAnnotAction from an annotation and a set
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()