GATE
Version 3.1-2270

gate
Interface VisualResource

All Superinterfaces:
FeatureBearer, NameBearer, Resource, Serializable
All Known Subinterfaces:
AnnotationVisualResource, DocumentView, OntologyEditor, ResizableVisualResource
All Known Implementing Classes:
AbstractDocumentView, AbstractVisualResource, AnnotationDiff, AnnotationListView, AnnotationSetsView, CorefEditor, CorpusAnnotationDiff, CorpusEditor, CorpusImporter, DocumentEditor, DocumentEditor, FeaturesEditor, FeaturesSchemaEditor, Gaze, JapeViewer, NLGLexiconVR, OntoLexEditorVR, OntologyEditor, OntologyEditorImpl, OracleDatastoreViewer, ProtegeWrapper, PRViewer, SchemaAnnotationEditor, SearchPRViewer, SerialControllerEditor, SerialDatastoreViewer, SyntaxTreeViewer, TextualDocumentView, UnrestrictedAnnotationEditor, WordNetViewer

public interface VisualResource
extends Resource

Models all sorts of visual resources.


Method Summary
 void setHandle(Handle handle)
          Used by the main GUI to tell this VR what handle created it.
 void setTarget(Object target)
          Called by the GUI when this viewer/editor has to initialise itself for a specific object.
 
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

setTarget

void setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a specific object.

Parameters:
target - the object (be it a Resource, DataStore or whatever) this viewer has to display

setHandle

void setHandle(Handle handle)
Used by the main GUI to tell this VR what handle created it. The VRs can use this information e.g. to add items to the popup for the resource.


GATE
Version 3.1-2270