public interface AnnotationVisualResource extends VisualResource
Modifier and Type | Method and Description |
---|---|
void |
cancelAction()
Called by the GUI when the user has pressed the "Cancel" button.
|
boolean |
canDisplayAnnotationType(String annotationType)
Checks whether this viewer/editor can handle a specific annotation type.
|
void |
editAnnotation(Annotation ann,
AnnotationSet set)
Changes the annotation currently being edited.
|
boolean |
editingFinished()
Checks whether the annotation currently being edited can be considered
complete.
|
Annotation |
getAnnotationCurrentlyEdited() |
AnnotationSet |
getAnnotationSetCurrentlyEdited() |
boolean |
isActive()
Checks whether the annotation editor is active (shown on screen and ready
to edit annotations.
|
void |
okAction()
Called by the GUI when the user has pressed the "OK" button.
|
boolean |
supportsCancel()
Checks whether this editor supports the cancel option
|
setHandle, setTarget, targetReinitialised
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
void okAction() throws GateException
GateException
void cancelAction() throws GateException
GateException
boolean supportsCancel()
boolean canDisplayAnnotationType(String annotationType)
void editAnnotation(Annotation ann, AnnotationSet set)
ann
- the new annotation.set
- the set to which the new annotation belongs.boolean editingFinished()
boolean isActive()
Annotation getAnnotationCurrentlyEdited()
AnnotationSet getAnnotationSetCurrentlyEdited()
Copyright © 2024 GATE. All rights reserved.