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_EXPRESSION_DATA_TABLE = "DataTable";
	public final static String ICON_EXPRESSION_OPERATOR = "Operator";
	public final static String ICON_EXPRESSION_GLOBAL = "Global";
	public final static String ICON_EXPRESSION_METHOD = "Method";
	public final static String ICON_EXPRESSION_STATIC_METHOD = "Static Method";
	public final static String ICON_EXPRESSION_MEMBER = "Member";
	public final static String ICON_EXPRESSION_STATIC_MEMBER = "Static Member";
	
	public final static String ICON_WIZARD_DATASOURCE = "DataSourceBasePage";
	public final static String ICON_WIZARD_DATASET = "DataSetBasePage";
	public final static String ICON_WIZARDPAGE_DATASETSELECTION = "DataSetSelectionPage";
	
	public final static String DIS = "DIS";	
	public final static String ICON_ATTRIBUTE_FONT_WIDTH = StyleHandle.FONT_WEIGHT_PROP;
	public final static String ICON_ATTRIBUTE_FONT_STYLE = StyleHandle.FONT_STYLE_PROP;
	public final static String ICON_ATTRIBUTE_TEXT_UNDERLINE = StyleHandle.TEXT_UNDERLINE_PROP;
	public final static String ICON_ATTRIBUTE_TEXT_LINE_THROUGH = StyleHandle.TEXT_LINE_THROUGH_PROP;
	public final static String ICON_ATTRIBUTE_BORDER_NONE = "BORDER_NONE";
	public final static String ICON_ATTRIBUTE_BORDER_FRAME = "BORDER_FRAME";
	public final static String ICON_ATTRIBUTE_BORDER_LEFT = "BORDER_LEFT";
	public final static String ICON_ATTRIBUTE_BORDER_RIGHT = "BORDER_RIGHT";
	public final static String ICON_ATTRIBUTE_BORDER_TOP = "BORDER_TOP";
	public final static String ICON_ATTRIBUTE_BORDER_BOTTOM = "BORDER_BOTTOM";
	public final static String ICON_ATTRIBUTE_TEXT_ALIGN_CENTER = DesignChoiceConstants.TEXT_ALIGN_CENTER;
	public final static String ICON_ATTRIBUTE_TEXT_ALIGN_JUSTIFY = DesignChoiceConstants.TEXT_ALIGN_JUSTIFY;
	public final static String ICON_ATTRIBUTE_TEXT_ALIGN_LEFT = DesignChoiceConstants.TEXT_ALIGN_LEFT;
	public final static String ICON_ATTRIBUTE_TEXT_ALIGN_RIGHT = DesignChoiceConstants.TEXT_ALIGN_RIGHT;
	public final static String ICON_ATTRIBUTE_TOP_MARGIN = MasterPageHandle.TOP_MARGIN_PROP;
	public final static String ICON_ATTRIBUTE_BOTTOM_MARGIN = MasterPageHandle.BOTTOM_MARGIN_PROP;
	public final static String ICON_ATTRIBUTE_LEFT_MARGIN = MasterPageHandle.LEFT_MARGIN_PROP;