Bug 173037 How to get drill-through "action/targetFileType" property at runtime?
My report design contains drill-through hyperlinks to another report design or particular report document. The link target document type is represented by action/targetFileType property in the design XML file, for example: <structure name="action"> <property name="reportName">cust_orders_payments.rptdocument</property> <property name="targetFileType">report-document</property> ... </structure> At runtime, I receive IAction object, for example in a custom IHTMLActionHandler implementation, but it has no targetFileType property. Is it possible to obtain it somehow or is it a bug?
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ActionInstance.java
public void setDrillThrough( IDrillThroughInstance drillThrough )
	{
		if ( drillThrough != null )
		{
			if ( drillThrough instanceof DrillThroughInstance )
			{
				hyperlink.setDrillThrough( ( (DrillThroughInstance)drillThrough ).getDrillThroughAction( ) );
				this.drillThroughInstance = drillThrough;
			}
			else
			{
				throw new IllegalArgumentException( "IDrillThroughInstance is illegal." );
			}
		}
		else
		{
			throw new IllegalArgumentException( "IDrillThroughInstance can not be set to NULL." );
		}
	}
	
	
	/**
	 * @return this.hyperlink, HyperlinkAction
	 */
	IHyperlinkAction getHyperlinkAction( )
	{
		return hyperlink;
	}
}