Bug 169030 Migrate to eclipse 3.3 SDK
This is a bug to investiage the processing of migration BIRT 2.2 code to last eclipse 3.3 SDK.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/figures/LabelFigure.java
{
			
			return new Dimension( Math.max( getInsets( ).getWidth( )
					+ getMinimumFontSize( getFont( ) ), rx ),
					Math.max( getInsets( ).getHeight( ), ry ) );
		}
		
		Dimension dim = super.getMinimumSize( -1, hHint );
		if ( dim.width < wHint )
		{
			return new Dimension( Math.max( dim.width, rx ),
					Math.max( dim.height, ry ) );
		}
		dim = super.getMinimumSize( wHint, hHint );
		return new Dimension( Math.max( dim.width, rx ), Math.max( dim.height,
				ry ) );
	}
	private static int getMinimumFontSize( Font ft )
	{
		if ( ft != null && ft.getFontData( ).length > 0 )
		{
			return ft.getFontData( )[0].height;
		}
		return 0;
	}
	/**
	 * Since Eclipse TextFlow figure ignore the trailing /r/n for calculating
	 * the client size, we must append the extra size ourselves.
	 * 
	 * @return dimension for the client area used by the editor.