edu.stanford.smi.protegex.owl.ui.resourcedisplay
Class TriplesViewResourceDisplayPlugin
java.lang.Object
edu.stanford.smi.protegex.owl.ui.resourcedisplay.TriplesViewResourceDisplayPlugin
- All Implemented Interfaces:
- ResourceDisplayPlugin
- public class TriplesViewResourceDisplayPlugin
- extends Object
- implements ResourceDisplayPlugin
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriplesViewResourceDisplayPlugin
public TriplesViewResourceDisplayPlugin()
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 FramehostPanel
- the JPanel that can be modified
updateResourceDisplay
private void updateResourceDisplay(ResourceDisplay resourceDisplay,
JRadioButton formViewBox,
JRadioButton triplesViewBox)