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:
- ResourceSelectionListener, ActionListener, Serializable, Cloneable, EventListener, Action
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
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
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.