edu.stanford.smi.protegex.owl.ui.menu
Class OWLModelActionAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.menu.OWLModelActionAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, edu.stanford.smi.protege.util.Disposable, EventListener, Serializable

public class OWLModelActionAction
extends AbstractAction
implements edu.stanford.smi.protege.util.Disposable

A Swing Action wrapping an OWLModelAction.

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  OWLModel owlModel
           
private  OWLModelAction owlModelAction
           
private  PropertyChangeListener propertyChangeListener
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
OWLModelActionAction(OWLModelAction owlModelAction, OWLModel owlModel)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void dispose()
           
static Icon getIcon(OWLModelAction owlModelAction)
           
 
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

owlModel

private OWLModel owlModel

owlModelAction

private OWLModelAction owlModelAction

propertyChangeListener

private PropertyChangeListener propertyChangeListener
Constructor Detail

OWLModelActionAction

public OWLModelActionAction(OWLModelAction owlModelAction,
                            OWLModel owlModel)
Method Detail

actionPerformed

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

dispose

public void dispose()
Specified by:
dispose in interface edu.stanford.smi.protege.util.Disposable

getIcon

public static Icon getIcon(OWLModelAction owlModelAction)