public class DeleteOntologyResourceAction extends AbstractAction implements TreeNodeSelectionListener
Modifier and Type | Field and Description |
---|---|
protected Ontology |
ontology |
protected ArrayList<DefaultMutableTreeNode> |
selectedNodes |
changeSupport, enabled
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 and Description |
---|
DeleteOntologyResourceAction(String caption,
Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent actionevent) |
Ontology |
getOntology() |
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) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected ArrayList<DefaultMutableTreeNode> selectedNodes
public DeleteOntologyResourceAction(String caption, Icon icon)
public void actionPerformed(ActionEvent actionevent)
actionPerformed
in interface ActionListener
public Ontology getOntology()
public void setOntology(Ontology ontology)
public void selectionChanged(ArrayList<DefaultMutableTreeNode> arraylist)
TreeNodeSelectionListener
selectionChanged
in interface TreeNodeSelectionListener