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 ) ) ) {
position = Position.NORTH;
} else if ( view.asWidget().equals( vsp.getWidget( Position.SOUTH ) ) ) {
position = Position.SOUTH;
}
}
switch ( position ) {