DesignerOutlinePage outlinePage = new DesignerOutlinePage( getModel( ) ); getModelEventManager( ).addModelEventProcessor( outlinePage.getModelProcessor( ) ); registerOutlineSwitchAction( ); return outlinePage;
if ( getModel( ) != null ) { DesignerOutlinePage outlinePage = new DesignerOutlinePage( getModel( ) ); getModelEventManager( ).addModelEventProcessor( outlinePage.getModelProcessor( ) ); registerOutlineSwitchAction( ); return outlinePage; }
	public Object getAdapter( Class required )	{		if ( required.equals( ActionRegistry.class ) )		{			if ( registry == null )			{				registry = new ActionRegistry( );			}			return registry;		}		else if ( IContentOutlinePage.class.equals( required ) )		{			DesignerOutlinePage outlinePage = new DesignerOutlinePage( getModel( ) );			getModelEventManager( ).addModelEventProcessor( outlinePage.getModelProcessor( ) );			registerOutlineSwitchAction( );			return outlinePage;		}		else if ( ContentOutlinePage.class.equals( required ) )		{			return reportXMLEditor.getAdapter( IContentOutlinePage.class );		}		return super.getAdapter( required );	}