gate.gui.annedit
Class SearchExpressionsAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gate.gui.annedit.SearchExpressionsAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class SearchExpressionsAction
extends AbstractAction

Dialog for building a regular expression.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SearchExpressionsAction(JTextField sourceTextField, Window annotationEditorWindow, JCheckBox searchRegExpChk)
          Shows a dialog with a list of predefined search expressions to modified the current search expression.
 
Method Summary
 void actionPerformed(ActionEvent arg0)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchExpressionsAction

public SearchExpressionsAction(JTextField sourceTextField,
                               Window annotationEditorWindow,
                               JCheckBox searchRegExpChk)
Shows a dialog with a list of predefined search expressions to modified the current search expression.

Parameters:
sourceTextField - text field that contains the search expression
annotationEditorWindow - search window
searchRegExpChk - check box for regular expression; may be null
Method Detail

actionPerformed

public void actionPerformed(ActionEvent arg0)