Protege 2.1.1

edu.stanford.smi.protege.util
Class RemoveAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protege.util.AllowableAction
          extended byedu.stanford.smi.protege.util.RemoveAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public abstract class RemoveAction
extends AllowableAction

An action to remove an item. Note that this is different from deleting the item. Removing it causes the reference to the item to be removed from this particular place but the same item may still be refered to elsewhere.

Author:
Ray Fergerson
See Also:
Serialized Form

Field Summary
 
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
RemoveAction(String text, Selectable selectable)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void onRemove()
           
 void onRemove(Collection objects)
           
 void onRemove(Object o)
           
 
Methods inherited from class edu.stanford.smi.protege.util.AllowableAction
getSelectable, getSelection, isAllowed, onSelectionChange, setAllowed
 
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
 

Constructor Detail

RemoveAction

public RemoveAction(String text,
                    Selectable selectable)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)

onRemove

public void onRemove(Collection objects)

onRemove

public void onRemove(Object o)

onRemove

public final void onRemove()

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.