Bug 121871 Support intellisense for global varible "report" in both expression builder and script editor
Currently expression builder already provide intellisense support for static objects (both BIRT and standard javaScript object). However, it doesn't support intellisene for "report". Even with the class structure displayed in the expression builder, it is quite difficult to figure out how to use the report varible without intellisense. We should use the same mechanism for "report." object intellisense support as we did for "this." objects: - UI (expression builder or script editor) get the type for "report" object - UI use reflection to get all properties, methods defined on report object. - The reflection process will be recursive.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/IReportGraphicConstants.java
public final static String ICON_ATTRIBUTE_RIGHT_MARGIN = MasterPageHandle.RIGHT_MARGIN_PROP;
	
	public final static String ICON_PREVIEW_PARAMETERS = "PreviewParameters"; 	
	public final static String ICON_PREVIEW_PARAMETERS_HIDE = "PreviewParametersHide"; 	
	public final static String ICON_PREVIEW_REFRESH = "Refresh";
	
	public final static String ICON_DEFAULT = "Default"; 
	public static final String ICON_DATAEDIT_DLG_TITLE_BANNER = "org.eclipse.birt.report.designer.property"; 
	
	public static final String ICON_OPEN_FILE = "Open file";
	public static final String ICON_ENABLE_LOCAL_PROPERTIES = "Enable Local Properties";
	public final static String[] IMAGE_FILTER_NAMES = {
			Messages.getString("IReportGraphicConstants.ImageType.All"), 
			Messages.getString("IReportGraphicConstants.ImageType.Bmp"), 
			Messages.getString("IReportGraphicConstants.ImageType.Jpg"), 
			Messages.getString("IReportGraphicConstants.ImageType.Tif"), 
			Messages.getString("IReportGraphicConstants.ImageType.Gif"), 
			Messages.getString("IReportGraphicConstants.ImageType.Png"), 
			Messages.getString("IReportGraphicConstants.ImageType.Icon") 
	};
	public final static String[] IMAGE_FILTER_EXTS = {
			"*.bmp;*.jpg;*.jpeg;*.gif;*.tif;*.png;*.ico", 
			"*.bmp", 
			"*.jpg;*.jpeg;", 
			"*.tif", 
			"*.gif", 
			"*.png", 
			"*.ico" 
	};
}