GATE
Version 3.1-2270

gate.gui
Interface ActionsPublisher

All Known Subinterfaces:
DocumentView
All Known Implementing Classes:
AbstractDocumentView, ANNIETransducer, AnnotationListView, AnnotationSetsView, CorefEditor, DocumentEditor, JenaOntologyImpl, Kea, MachineLearningPR, MaxentWrapper, OntologyAwareTransducer, SerialControllerEditor, SVMLightWrapper, TextualDocumentView, Transducer, VPChunker, Wrapper

public interface ActionsPublisher

This interface is used to mark resources that publish a list of actions that can be performed on them. Those actions will automatically be added to the appropriate menus when needed.


Method Summary
 List getActions()
          Returns a list of Action objects.
 

Method Detail

getActions

List getActions()
Returns a list of Action objects. This method will be called everytime a menu for this resource needs to be built, thus allowing for dynamic updates to the list of actions. A null value in this list will cause a separator to be created.

Returns:
a List of Actions.

GATE
Version 3.1-2270