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
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
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.