Bug 120345 Need a URL generator API from Engine
The Chart Engine needs the ability to generate a viewer URL from an ActionHandle, this can be provided by a Report Engine public API for instance. The URL should usable as is by the viewer without any additional change. The Chart Engine can take care of evaluating the expressions inside the ActionHandle before calling the Report Engine API if necessary.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/extension/IReportItemPresentation.java
* <li> Presentation engine detects that the element is an extended item. It
 * dynamically creates an object with type IReportItemPresentation.
 * <li> The presentation engine calls various setXXX methods to pass
 * initialization parameters to the extension implementation.
 * <li> deserialize method restores the generation time state
 * <li> Render the extended item through onRowSets method, handled the returned
 * image
 * <li> Call finish() for cleanup.
 */
public interface IReportItemPresentation
{
	public static int OUTPUT_NONE = 0;
	public static int OUTPUT_AS_IMAGE = 1; 
											
	public static int OUTPUT_AS_TEXT = 2;
	public static int OUTPUT_AS_HTML_TEXT = 3;
	public static int OUTPUT_AS_DRAWING = 4;
	public static int OUTPUT_AS_CUSTOM = 5;
	public static int OUTPUT_AS_IMAGE_WITH_MAP = 6;
	/**
	 * passes a handle to the extended report item model to the extension
	 * 
	 * @param modelHandle
	 *            a handle to the extended item model object
	 */
	public abstract void setModelObject( ExtendedItemHandle modelHandle );
	/**
	 * pass the script context to the report item.
	 * 
	 * @param context