edu.stanford.smi.protegex.owl.ui.results
Interface HostResourceDisplay
- All Known Subinterfaces:
- NavigationHistoryTabWidget
- All Known Implementing Classes:
- ClassTree, ImportsTree, ImportsTreePanel, InstancesList, OWLAnnotationPropertySubpropertyPane, OWLClassesTab, OWLDatatypePropertySubpropertyPane, OWLFormsTab, OWLIndividualsTab, OWLMetadataTab, OWLObjectPropertySubpropertyPane, OWLPropertiesTab, OWLPropertyHierarchiesPanel, OWLSubpropertyPane
public interface HostResourceDisplay
An interface that is typically implemented by TabWidgets, allowing them to
interact with global actions such as searching. For example, if a user
double clicks on the search results, a tab implementing this interface can
navigate to the selected resource.
- Author:
- Holger Knublauch
Method Summary |
boolean |
displayHostResource(RDFResource resource)
Called by actions such as the view action in the FindUsagePanel or the
OWLTestResultsPanel. |
displayHostResource
boolean displayHostResource(RDFResource resource)
- Called by actions such as the view action in the FindUsagePanel or the
OWLTestResultsPanel.
This can be implemented for special handling of this action - otherwise the
system will pop up a new window showing the selected RDFResource.
- Parameters:
resource
- the resource to display
- Returns:
- true if the navigation was handled, false for default behavior
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.