gate.gui.ontology
Class TopClassAction

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

public class TopClassAction
extends AbstractAction

Action to create a new Top Class.

See Also:
Serialized Form

Field Summary
protected  JTextField className
           
protected  JPanel mainPanel
           
protected  JTextField nameSpace
           
protected  Ontology ontology
           
 
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
TopClassAction(String s, Icon icon)
           
 
Method Summary
 void actionPerformed(ActionEvent actionevent)
           
 Ontology getOntology()
           
 void setOntology(Ontology ontology)
           
 
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
 

Field Detail

nameSpace

protected JTextField nameSpace

className

protected JTextField className

mainPanel

protected JPanel mainPanel

ontology

protected Ontology ontology
Constructor Detail

TopClassAction

public TopClassAction(String s,
                      Icon icon)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionevent)

getOntology

public Ontology getOntology()

setOntology

public void setOntology(Ontology ontology)