Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.ui.results
Interface HostResourceDisplay

All Known Subinterfaces:
  NavigationHistoryTabWidget

All Known Implementing Classes:
  ClassTree, ClassTreeWithBrowserText, 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.

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.