edu.stanford.smi.protegex.owl.ui.resourcedisplay
Class TriplesViewResourceDisplayPlugin

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.resourcedisplay.TriplesViewResourceDisplayPlugin
All Implemented Interfaces:
ResourceDisplayPlugin

public class TriplesViewResourceDisplayPlugin
extends Object
implements ResourceDisplayPlugin

Author:
Holger Knublauch

Constructor Summary
TriplesViewResourceDisplayPlugin()
           
 
Method Summary
 void initResourceDisplay(RDFResource resource, JPanel hostPanel)
          Called whenever a new instance is displayed in a ResourceDisplay.
private  void updateResourceDisplay(ResourceDisplay resourceDisplay, JRadioButton formViewBox, JRadioButton triplesViewBox)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriplesViewResourceDisplayPlugin

public TriplesViewResourceDisplayPlugin()
Method Detail

initResourceDisplay

public void initResourceDisplay(RDFResource resource,
                                JPanel hostPanel)
Description copied from interface: ResourceDisplayPlugin
Called whenever a new instance is displayed in a ResourceDisplay. This method should check the type of the Resource, and depending on this add components to the hostPanel (which is the container of arbitrary components in the bottom right area of the screen.

Specified by:
initResourceDisplay in interface ResourceDisplayPlugin
Parameters:
resource - the currently selected Frame
hostPanel - the JPanel that can be modified

updateResourceDisplay

private void updateResourceDisplay(ResourceDisplay resourceDisplay,
                                   JRadioButton formViewBox,
                                   JRadioButton triplesViewBox)