edu.stanford.smi.protege.action
Class DeleteInstancesAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.util.AllowableAction
edu.stanford.smi.protege.util.DeleteAction
edu.stanford.smi.protege.action.DeleteInstancesAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class DeleteInstancesAction
- extends DeleteAction
Action to attempt to delete an instance. If the instance being deleted is a class then that class cannot have
any instance. The reason for this restriction is that people have been known to delete a metaclass without realizing
that all of its instances will disappear. It might be better to just do the check on metaclasses...
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
DeleteInstancesAction
public DeleteInstancesAction(String text,
Selectable selectable)
onAboutToDelete
protected void onAboutToDelete(Object o)
onAfterDelete
protected void onAfterDelete(Object o)
onDelete
public void onDelete(Object o)
- Overrides:
onDelete
in class DeleteAction
onSelectionChange
public void onSelectionChange()
- Overrides:
onSelectionChange
in class AllowableAction
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.