edu.stanford.smi.protegex.owl.ui.components
Class AddResourceAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
edu.stanford.smi.protegex.owl.ui.components.AddResourceAction
- All Implemented Interfaces:
- ResourceSelectionListener, ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- AddResourcesWithBrowserTextAction
public class AddResourceAction
- extends ResourceSelectionAction
- Author:
- Holger Knublauch
- See Also:
- Serialized Form
component
protected AddablePropertyValuesComponent component
symmetric
protected boolean symmetric
AddResourceAction
public AddResourceAction(AddablePropertyValuesComponent component,
boolean symmetric)
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
selectResourcesByType
protected Collection selectResourcesByType(OWLModel owlModel,
Collection clses)
resourceSelected
public void resourceSelected(RDFResource resource)
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.