edu.stanford.smi.protegex.owl.ui.clsproperties
Class AddPropertyAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
edu.stanford.smi.protegex.owl.ui.clsproperties.AddPropertyAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, ResourceSelectionListener, Serializable
- public class AddPropertyAction
- extends ResourceSelectionAction
An Action to add a selected property to the domain of the currently
edited Cls.
- Author:
- Holger Knublauch
- See Also:
- Serialized Form
propertyWidget
private PropertyWidget propertyWidget
AddPropertyAction
public AddPropertyAction(PropertyWidget propertyWidget)
resourceSelected
public void resourceSelected(RDFResource resource)
getBasePropertyMetaclass
protected RDFSNamedClass getBasePropertyMetaclass()
getSelectableResources
public Collection getSelectableResources()
- Specified by:
getSelectableResources
in class ResourceSelectionAction
pickResources
public Collection pickResources()
- Description copied from class:
ResourceSelectionAction
- This method is only used when multiple selection is allowed for this Action.
By default, it will call
pickFrame
.
- Overrides:
pickResources
in class ResourceSelectionAction
- Returns:
- the Frame