public void showView(View view) {

        closeWindows();

        // remove current component form the view change listeners
        m_currentView = view;
        Component component = null;
        if (view instanceof I_CmsAppView) {
            if (((I_CmsAppView)view).requiresRestore()) {
                ((I_CmsAppView)view).restoreFromCache();
            }
            component = ((I_CmsAppView)view).getComponent();
        } else if (view instanceof Component) {
            component = (Component)view;
        }
        initializeClientPolling(component);
        if (component != null) {
            setContent(component);
        }
    }
public void showView ( View view ) { closeWindows ( ) ; m_currentView = view ; Component component = null ; if ( view instanceof I_CmsAppView ) { if ( ( ( I_CmsAppView ) view ) . requiresRestore ( ) ) { ( ( I_CmsAppView ) view ) . restoreFromCache ( ) ; } component = ( ( I_CmsAppView ) view ) . getComponent ( ) ; } else if ( view instanceof Component ) { component = ( Component ) view ; } initializeClientPolling ( component ) ; if ( component != null ) { setContent ( component ) ; } }
@see com.vaadin.navigator.ViewDisplay#showView(com.vaadin.navigator.View)