effect.setDirection ( Direction.left );
componentTransition.performTransition ( toolBar1 );
}
}
} );
componentTransition.addTransitionListener ( new TransitionListener ()
{
@Override
public void transitionStarted ()
{
switchView.setEnabled ( false );