edu.stanford.smi.protegex.owl.ui.resourcedisplay
Class AddPropertyWidgetToFormAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
edu.stanford.smi.protegex.owl.ui.resourcedisplay.AddPropertyWidgetToFormAction
- All Implemented Interfaces:
- ResourceSelectionListener, ActionListener, Serializable, Cloneable, EventListener, Action
public class AddPropertyWidgetToFormAction
- extends ResourceSelectionAction
An Action to add a slot widget for a currently invisible slot to the
FormWidget of the direct type of a given Instance.
- Author:
- Holger Knublauch
- See Also:
- Serialized Form
AddPropertyWidgetToFormAction
public AddPropertyWidgetToFormAction(RDFResource resource,
ResourceDisplay parent)
resourceSelected
public void resourceSelected(RDFResource resource)
getSelectableResources
public Collection getSelectableResources()
- Specified by:
getSelectableResources
in class ResourceSelectionAction
pickResource
public RDFResource pickResource()
- Description copied from class:
ResourceSelectionAction
- This method is used when single selection is allowed for this Action.
- Overrides:
pickResource
in class ResourceSelectionAction
- Returns:
- the selected Frame
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.