The SDK has plenty examples with panel details. You control them with the little triangles in the palette tab.
E.g. search for IPanelDetailController.
Do you really want to swap the whole panel, or is it only a different kind of tree nodes?
Before implementing your own, you might get along with kZoomSetsDetailControllerImpl.
Dirk