gate.gui.ontology
Class TransitivePropertyAction

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

public class TransitivePropertyAction
extends AbstractAction
implements TreeNodeSelectionListener

Action to create a new Transitive Property

See Also:
Serialized Form

Field Summary
protected  ValuesSelectionAction domainAction
           
protected  JButton domainButton
           
protected  JPanel mainPanel
           
protected  JTextField nameSpace
           
protected  Ontology ontology
           
protected  ArrayList<String> ontologyClassesURIs
           
protected  JTextField propertyName
           
protected  ValuesSelectionAction rangeAction
           
protected  JButton rangeButton
           
protected  ArrayList<DefaultMutableTreeNode> selectedNodes
           
 
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
TransitivePropertyAction(String s, Icon icon)
           
 
Method Summary
 void actionPerformed(ActionEvent actionevent)
           
 Ontology getOntology()
           
 ArrayList<String> getOntologyClassesURIs()
           
 void selectionChanged(ArrayList<DefaultMutableTreeNode> arraylist)
          This method is invoked by the ontology editor whenever a user changes his/her selection in the ontology tree editor.
 void setOntology(Ontology ontology)
           
 void setOntologyClassesURIs(ArrayList<String> arraylist)
           
 
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

mainPanel

protected JPanel mainPanel

nameSpace

protected JTextField nameSpace

propertyName

protected JTextField propertyName

domainButton

protected JButton domainButton

rangeButton

protected JButton rangeButton

domainAction

protected ValuesSelectionAction domainAction

rangeAction

protected ValuesSelectionAction rangeAction

ontologyClassesURIs

protected ArrayList<String> ontologyClassesURIs

selectedNodes

protected ArrayList<DefaultMutableTreeNode> selectedNodes

ontology

protected Ontology ontology
Constructor Detail

TransitivePropertyAction

public TransitivePropertyAction(String s,
                                Icon icon)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionevent)
Specified by:
actionPerformed in interface ActionListener

getOntology

public Ontology getOntology()

setOntology

public void setOntology(Ontology ontology)

selectionChanged

public void selectionChanged(ArrayList<DefaultMutableTreeNode> arraylist)
Description copied from interface: TreeNodeSelectionListener
This method is invoked by the ontology editor whenever a user changes his/her selection in the ontology tree editor.

Specified by:
selectionChanged in interface TreeNodeSelectionListener

getOntologyClassesURIs

public ArrayList<String> getOntologyClassesURIs()

setOntologyClassesURIs

public void setOntologyClassesURIs(ArrayList<String> arraylist)