gate.gui.ontology
Class DatatypePropertyAction
java.lang.Object
javax.swing.AbstractAction
gate.gui.ontology.DatatypePropertyAction
- All Implemented Interfaces:
- TreeNodeSelectionListener, ActionListener, Serializable, Cloneable, EventListener, Action
public class DatatypePropertyAction
- extends AbstractAction
- implements TreeNodeSelectionListener
Action to create a new datatype property.
- See Also:
- Serialized Form
| 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
mainPanel
protected JPanel mainPanel
nameSpace
protected JTextField nameSpace
datatypesComboBox
protected JComboBox datatypesComboBox
domainButton
protected JButton domainButton
propertyName
protected JTextField propertyName
domainAction
protected ValuesSelectionAction domainAction
ontologyClassesURIs
protected ArrayList<String> ontologyClassesURIs
selectedNodes
protected ArrayList<DefaultMutableTreeNode> selectedNodes
ontology
protected Ontology ontology
DatatypePropertyAction
public DatatypePropertyAction(String s,
Icon icon)
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 getOntologyClassesURIs()
setOntologyClassesURIs
public void setOntologyClassesURIs(ArrayList<String> arraylist)