* is in an inspector panel.
*/
public void showInPanel() {
JInspectorPanel parentPanel = UISupport.findParentWithClass(getComponent(), JInspectorPanel.class);
if (parentPanel != null) {
parentPanel.activate(this);
} else {
log.debug("showInPanel() called, but the inspector " + getClass().getSimpleName() + "isn't in a panel");
}
}