Protege 2.1.2

edu.stanford.smi.protegex.widget.instancetable
Class Action_AbstractTableListener

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.widget.instancetable.Action_AbstractTableListener
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
Action_CreateUsingPrototype, Action_DeleteInstance, Action_MoveDown, Action_MoveUp, Action_RemoveInstance, Action_ViewInstance

public abstract class Action_AbstractTableListener
extends AbstractAction

An action which is enabled if there is a selection and is not enabled otherwise

Author:
William Grosso
See Also:
Serialized Form

Field Summary
protected  InstanceTable _table
           
protected  InstanceTableWidget _widget
           
 
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
Action_AbstractTableListener(String tooltipString, Icon icon, InstanceTableWidget widget, InstanceTable table)
           
 
Method Summary
abstract  void actionPerformed(ActionEvent e)
           
protected  boolean isSlotEditable()
           
 
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

_widget

protected InstanceTableWidget _widget

_table

protected InstanceTable _table
Constructor Detail

Action_AbstractTableListener

public Action_AbstractTableListener(String tooltipString,
                                    Icon icon,
                                    InstanceTableWidget widget,
                                    InstanceTable table)
Method Detail

actionPerformed

public abstract void actionPerformed(ActionEvent e)

isSlotEditable

protected boolean isSlotEditable()

Protege 2.1.2

Submit a bug report or feature request