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 null;
		}
		return IReportElementConstants.DATA_COLUMN_PREFIX
				+ "[\"" + DEUtil.escape( columnName ) + "\"]";
	}
	/**
	 * Relativizes the path against this base path.
	 * 
	 * @param basePath
	 *            the base path
	 * @param path
	 *            the path to convert
	 * @return The relative path based on the base path if it is possible, or
	 *         the original path
	 * 
	 */
	public static String getRelativedPath( String basePath, String path )
	{
		
		
		return URIUtil.getRelativePath( new File( basePath ).getParent( ),
				new File( path ).getParent( ) )
				+ "/" + new File( path ).getName( );
	}
	/**
	 * Returns the handle of the action of the given element.
	 * 
	 * @param element
	 *            the element handle