org.topbraidcomposer.navigation
Interface IOtherSelectingView

All Known Implementing Classes:
AbstractPredicateTreeView, AbstractTreeView, ArbiTreeView, InheritanceView, InstancesView, PropertiesTreeView, SubClassesTreeView

public interface IOtherSelectingView

An interface needed by the DeleteResourcesAction to select a different resource after the delete operation took place. This is needed because otherwise the system would automatically select an undefined resource such as the owl:Ontology (note that there has to be one resource selected at all times, unless no model is selected either.

Author:
Holger Knublauch

Method Summary
 com.hp.hpl.jena.rdf.model.Resource selectOther(java.util.Set<com.hp.hpl.jena.rdf.model.Resource> deletedResources)
          Selects a Resource different from any of the given resources.
 

Method Detail

selectOther

com.hp.hpl.jena.rdf.model.Resource selectOther(java.util.Set<com.hp.hpl.jena.rdf.model.Resource> deletedResources)
Selects a Resource different from any of the given resources. The selection should be applied to the view itself, while the calling method will care for the global selection.

Parameters:
deletedResources - the Resources that have been deleted
Returns:
the newly selected resource