if ( ( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( ) != null ) { ( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( ) .addListener( this ); }
	public void activate( )	{		super.activate( );		if ( ( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( ) != null )		{			( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( )					.addListener( this );		}		getFigure( ).setFocusTraversable( false );		getViewer( ).addPropertyChangeListener( new PropertyChangeListener( ) {			public void propertyChange( PropertyChangeEvent evt )			{				if ( DeferredGraphicalViewer.PROPERTY_MARGIN_VISIBILITY.equals( evt.getPropertyName( ) ) )				{					showMargin = ( (Boolean) evt.getNewValue( ) ).booleanValue( );					refresh( );					markDirty( true );				}			}		} );	}