|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationVisualResource
Visual Resources that display and/or edit annotations. This type of resources can be used to either display or edit existing annotations or to create new annotations.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface gate.VisualResource |
|---|
setHandle, setTarget |
| Methods inherited from interface gate.Resource |
|---|
cleanup, getParameterValue, init, setParameterValue, setParameterValues |
| Methods inherited from interface gate.util.FeatureBearer |
|---|
getFeatures, setFeatures |
| Methods inherited from interface gate.util.NameBearer |
|---|
getName, setName |
| Method Detail |
|---|
void okAction()
throws GateException
GateException
void cancelAction()
throws GateException
GateExceptionboolean 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||