Retrieving a MultiViewElement from a top component

View: New views
1 Messages — Rating Filter:   Alert me  

Retrieving a MultiViewElement from a top component

by KM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My editor windows are multiview editors.  In my example both views are textual views, so have JEditorPanes.  From the JEditorPane representing the initial view I can access the top component of the view, and from there I can access the MultiViewHandler.  I can use this to change the perspective to the other tab.  But how can I then access the JEditorPane associated with the second tab?  Or, I suppose more generally, the MultiViewElement instance?