Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Protected Member Functions | Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes

org::apache::uima::tools::stylemap::StyleMapEditor Class Reference

Inheritance diagram for org::apache::uima::tools::stylemap::StyleMapEditor:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::tools::stylemap::StyleMapEditor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void actionPerformed (ActionEvent evt)
void addRow (String typeName)
ArrayList createStyleList (AnalysisEngineMetaData aAnalysisEngineMetaData, String aStyleMapXml)
Dimension getPreferredSize ()
String launchEditor (AnalysisEngineMetaData aAnalysisEngineMetaData, String aStyleMapXml, CAS cas)
ArrayList parseStyleList (String aStyleMapXml)
void setAnalysisEngine (AnalysisEngineDescription ae)
void setTextAnalysisEngine (org.apache.uima.analysis_engine.TaeDescription tae)
 StyleMapEditor (final JFrame aOwner, CAS cas)

Protected Member Functions

StyleMapTable getAnnotationsTable ()

Package Attributes

Object[][] data

Private Member Functions

String generateStyleMap (ArrayList aStyleList)
boolean launchGUI (ArrayList aStyleList, CAS cas)
void setUpColorEditor (JTable table)

Private Attributes

ImageButton addTableEntryButton
AnalysisEngineDescription ae
AnalysisEngineMetaData analysisEngineMetaData
AnnotationFeaturesViewer annotationFeaturesViewer
StyleMapTable annotationsTable
boolean buttonPress = false
JButton cancelButton = new JButton("Cancel")
HashMap colorNameMap
TableGUIMediator med
ImageButton moveRowDownButton
ImageButton moveRowUpButton
JButton okButton = new JButton("Save")
boolean populated
ImageButton removeTableRowButton
JButton resetButton = new JButton("Reset")
ArrayList styleList
JDialog styleMapEditorDialog
StyleMapTableModel tableModel

Static Private Attributes

static final long serialVersionUID = -7774771368169207250L

Detailed Description

A GUI for editing style maps for the annotation viewer.

A style map is an XML document that describes how each kind of output from a Text Analysis Engine is to be displayed in the annotation viewer. Each output type that the user wants to be displayed will have an entry in the style map. Each entry in the style map contains:

To invoke the editor, call the launchEditor(TextAnalysisEngine,String) method.

Definition at line 72 of file StyleMapEditor.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index