gate.gui
Class DocumentEditor.NewAnnotationAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--gate.gui.DocumentEditor.NewAnnotationAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Enclosing class:
- DocumentEditor
- class DocumentEditor.NewAnnotationAction
- extends AbstractAction
The action that is fired when the user wants to create a new annotation.
It will build a dialog containing all the valid annotation editors.
- See Also:
- Serialized Form
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 |
set
AnnotationSet set
startOffset
Long startOffset
endOffset
Long endOffset
type
String type
DocumentEditor.NewAnnotationAction
public DocumentEditor.NewAnnotationAction(AnnotationSet set,
Long startOffset,
Long endOffset)
DocumentEditor.NewAnnotationAction
public DocumentEditor.NewAnnotationAction(AnnotationSet set,
String type,
Long startOffset,
Long endOffset)
actionPerformed
public void actionPerformed(ActionEvent e)
- Overrides:
actionPerformed
in class AbstractAction