Bug 191199 [Regression] Rule and Margin in masterpage isn't aligned
Description: New a report design file, go to the master page tab, you will find the rule and margin is not aligned. Build version:2.2.0.v20070606-0630
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportDesignEditPart.java
getFigure( ).revalidate( );
			if (info.get(ReportDesignHandle.LAYOUT_PREFERENCE_PROP) instanceof ReportDesignHandle)
			{
				getViewer().setProperty(IReportGraphicConstants.REPORT_LAYOUT_PROPERTY, 
						((ReportDesignHandle)info.get(ReportDesignHandle.LAYOUT_PREFERENCE_PROP)).getLayoutPreference());
			}
		}
		if (info.get(IMasterPageModel.TOP_MARGIN_PROP) != null
				||info.get(IMasterPageModel.BOTTOM_MARGIN_PROP) != null
				||info.get(IMasterPageModel.LEFT_MARGIN_PROP) != null
				||info.get(IMasterPageModel.RIGHT_MARGIN_PROP) != null
				
				||info.get(IMasterPageModel.TYPE_PROP) != null
				||info.get(IMasterPageModel.WIDTH_PROP) != null
				||info.get(IMasterPageModel.HEIGHT_PROP) != null
				||info.get(IMasterPageModel.ORIENTATION_PROP) != null
					)
		{				
			SlotHandle slotHandle = ( (ModuleHandle) getModel( ) ).getMasterPages( );
			Iterator iter = slotHandle.iterator( );
			SimpleMasterPageHandle masterPageHandle = (SimpleMasterPageHandle) iter.next( );
			Dimension size = getMasterPageSize( masterPageHandle );
			Rectangle bounds = new Rectangle( 0, 0, size.width - 1, size.height - 1 );
			((ReportDesignLayout)getFigure( ).getLayoutManager( )).setInitSize( bounds );
			figure.setBorder( new ReportDesignMarginBorder( getMasterPageInsets( masterPageHandle ) ) );
			figure.setBounds( bounds.getCopy( ) );
		}
	}
	
}