|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
edu.stanford.smi.protegex.owl.ui.cls.DeleteClassAction
A ResourceAction for deleted the selected named classes inside a ClassTreePanel.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
static String |
TEXT
|
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction |
|
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 | |
DeleteClassAction()
|
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
private static boolean |
confirmDelete(Component parent)
|
boolean |
isSuitable(Component component,
RDFResource resource)
|
static void |
performAction(RDFSNamedClass cls,
ClassTreePanel classTreePanel)
|
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction |
compareTo, getComponent, getGroup, getOWLModel, getPriority, getResource, initialize, isInToolBar |
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 |
public static final String TEXT
Constructor Detail |
public DeleteClassAction()
Method Detail |
public void actionPerformed(ActionEvent e)
private static boolean confirmDelete(Component parent)
public boolean isSuitable(Component component, RDFResource resource)
isSuitable
in class ResourceAction
public static void performAction(RDFSNamedClass cls, ClassTreePanel classTreePanel)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |