public void remove( final BaseWorkbenchPanelView<?> view,
final Widget parent ) {
Position position = Position.NONE;
if ( parent instanceof HorizontalSplitterPanel ) {
final HorizontalSplitterPanel hsp = (HorizontalSplitterPanel) parent;
if ( view.asWidget().equals( hsp.getWidget( Position.EAST ) ) ) {
position = Position.EAST;
} else if ( view.asWidget().equals( hsp.getWidget( Position.WEST ) ) ) {
position = Position.WEST;
}
} else if ( parent instanceof VerticalSplitterPanel ) {
final VerticalSplitterPanel vsp = (VerticalSplitterPanel) parent;
if ( view.asWidget().equals( vsp.getWidget( Position.NORTH ) ) ) {