Bug 120072 Support intellisense for "this" object in script editor & expression builder.
In BIRT, "this" object in javaScript methods represents the current report item or report item instamnce, for example, "this" object represents an ILabel object in label report item's onPrepare() method, and an ILabelInstance object in label report item's onCreate() and onRender() method. Script editor should support inteli-sense for "this" object for all report items. DE will define those methods using standard ROM method defintion, and the first argument will be the "this" object. This is also consistent with eventhandler interface defined for java event handler. Script editor (GUI) should use DE-API to get the classtype of the first argument of the current method, and use reflection to get all the methods defined on this classes, and display after the "this." is enetered.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
return Integer.parseInt( DesignerConstants.fontSizes[DesignerConstants.fontSizes.length - 1][1] );
			}
		}
		else
		{
			
			String size = (String) DesignerConstants.fontMap.get( DesignChoiceConstants.FONT_SIZE_MEDIUM );
			return Integer.parseInt( size ) + 1;
		}
	}
	private static int getSmallerFontSizeIntValue( DesignElementHandle handle )
	{
		if ( !( handle instanceof ReportItemHandle ) )
		{
			if ( handle instanceof ModuleHandle )
			{
				
				String size = (String) DesignerConstants.fontMap.get( DesignChoiceConstants.FONT_SIZE_MEDIUM );
				return Integer.parseInt( size ) - 1;
			}
			if ( handle instanceof GroupHandle )
			{
				handle = handle.getContainer( );
			}
		}
		Object fontSizeValue = getModelFontSize( handle );
		if ( fontSizeValue instanceof DimensionValue )
		{
			int gParentFontSize = getFontSizeIntValue( handle.getContainer( ) );
			int size = (int) CSSUtil.convertToPoint( fontSizeValue,