edu.stanford.smi.protegex.owl.ui.cls
Class CreateSubclassAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
edu.stanford.smi.protegex.owl.ui.cls.CreateSubclassAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, Comparable, EventListener, Serializable
- public class CreateSubclassAction
- extends ResourceAction
A ResourceAction for named classes, to create a subclass of the currently selected class.
- Author:
- Holger Knublauch
- See Also:
- Serialized Form
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction |
|
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
CreateSubclassAction
public CreateSubclassAction()
actionPerformed
public void actionPerformed(ActionEvent e)
getPriority
public int getPriority()
- Description copied from class:
ResourceAction
- Gets an (optional) integer that can be used to control the order of actions
in a menu. The higher the number, the further up the item will appear.
- Overrides:
getPriority
in class ResourceAction
- Returns:
- the priority (0 is default)
isSuitable
public boolean isSuitable(Component component,
RDFResource resource)
- Specified by:
isSuitable
in class ResourceAction
performAction
public static void performAction(Collection superclasses,
ClassTreePanel classTreePanel)