Replace a view in splitter window

I would like to know a way to change the view of a particular pane in a splitter window.

It should be something like an explorer window. Where on click of any tree branch on left side of window right hand side view updates.

Similarily i would like to update my view. On click of any tree node a new pane should be displayed at the same position overriding the previous pane.

sample code would be highly appreciated
Topic archived. No new replies allowed.