edu.stanford.smi.protege.util
Class DeleteAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.util.AllowableAction
edu.stanford.smi.protege.util.DeleteAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- DeleteInstancesAction
- public abstract class DeleteAction
- extends AllowableAction
Base class for the delete action that is available on most widgets. This class handles the case of a multiselect
delete by looping over the items to be deleted and calling #onDelete(Object) on each one separately.
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
DeleteAction
public DeleteAction(String text,
Selectable selectable)
actionPerformed
public void actionPerformed(ActionEvent event)
onDelete
public void onDelete()
onDelete
protected void onDelete(Collection items)
onDelete
public void onDelete(Object o)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.