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/dialogs/ExpressionBuilder.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.ui.dialogs;
import org.eclipse.birt.report.designer.internal.ui.editors.js.JSDocumentProvider;
import org.eclipse.birt.report.designer.internal.ui.editors.js.JSEditorInput;
import org.eclipse.birt.report.designer.internal.ui.editors.js.JSSourceViewerConfiguration;
import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler;
import org.eclipse.birt.report.designer.internal.ui.util.UIUtil;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.designer.ui.ReportPlatformUIImages;