gate.gui.teamware
Class InputOutputAnnotationSetsDialog

java.lang.Object
  extended by gate.gui.teamware.InputOutputAnnotationSetsDialog

public class InputOutputAnnotationSetsDialog
extends Object

Dialog box to edit the lists of input and output annotation set names for the "export to teamware" option.


Nested Class Summary
protected static class InputOutputAnnotationSetsDialog.NaturalComparator
          A comparator for strings that uses their natural order, treating null as less than anything non-null.
 
Constructor Summary
InputOutputAnnotationSetsDialog(Controller controller)
           
 
Method Summary
protected  void initGuiComponents()
          Set up the GUI.
 boolean showDialog(Component parent)
          Show the dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputOutputAnnotationSetsDialog

public InputOutputAnnotationSetsDialog(Controller controller)
Method Detail

initGuiComponents

protected void initGuiComponents()
Set up the GUI.


showDialog

public boolean showDialog(Component parent)
Show the dialog. If the dialog is closed with the OK button, the contents of the two lists (input and output annotation set names) are persisted back to the relevant Controller features.

Returns:
true if the dialog was closed with the OK button, false otherwise.