edu.stanford.smi.protegex.owl.ui.resourcedisplay
Interface ResourceDisplayPlugin
- All Known Implementing Classes:
- SwitchClassDefinitionResourceDisplayPlugin, TriplesViewResourceDisplayPlugin
- public interface ResourceDisplayPlugin
The base interface of plugins that can add components to the bottom-right
area of an ResourceDisplay. These plugins are identified with
- Author:
- Holger Knublauch
initResourceDisplay
public void initResourceDisplay(RDFResource resource,
JPanel hostPanel)
- 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.
- Parameters:
resource
- the currently selected FramehostPanel
- the JPanel that can be modified