gate.gui.annedit
Interface OwnedAnnotationEditor
- All Superinterfaces:
- AnnotationVisualResource, FeatureBearer, NameBearer, Resource, Serializable, VisualResource
- All Known Implementing Classes:
- AnnotationEditor, SchemaAnnotationEditor
public interface OwnedAnnotationEditor
- extends AnnotationVisualResource
Interface for all annotation editor components
placeDialog
void placeDialog(int start,
int end)
- Finds the best location for the editor dialog for a given span of text
setOwner
void setOwner(AnnotationEditorOwner owner)
- Sets the owner (i.e. controller) for this editor.
- Parameters:
owner -
getOwner
AnnotationEditorOwner getOwner()
- Returns:
- owner The owner (i.e. controller) for this editor.
setPinnedMode
void setPinnedMode(boolean pinned)
- Parameters:
pinned - true if the window should not move
when an annotation is selected.
setEditingEnabled
void setEditingEnabled(boolean isEditingEnabled)
- Enable or disable the editing GUI components.
- Parameters:
isEditingEnabled - true to enable the editing,
false to disable it