org.topbraidcomposer.ui.viewers
Class ResourceHighlighting

java.lang.Object
  extended by org.topbraidcomposer.ui.viewers.ResourceHighlighting

public class ResourceHighlighting
extends java.lang.Object

A static service that can be used to "remote control" views to highlight a certain Resource, without knowing which views are actually visible.

Author:
Holger Knublauch

Constructor Summary
ResourceHighlighting()
           
 
Method Summary
static void highlightResource(com.hp.hpl.jena.rdf.model.Resource resource)
          Instructs all suitable views to highlight a given Resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceHighlighting

public ResourceHighlighting()
Method Detail

highlightResource

public static void highlightResource(com.hp.hpl.jena.rdf.model.Resource resource)
Instructs all suitable views to highlight a given Resource. A view is suitable if it implements IResourceHighlighter and furthermore returns true on canHighlight.

Parameters:
resource - the Resource to highlight (must not be null)