Bug 197505 Add Design Handle to Scriptable Objects
Currently in a report design, you can modify the design file by calling: reportContext.getReportRunnable().designHandle.getDesignHandle() Adding an object that is available by default called the DesignHandle would make this process significantly easier and more intuitive. The DesignHandle should be available at all of the same points that ReportContext is available.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java
{
		context.registerBean( name, null );
	}
	public Object getGlobalVariable( String name )
	{
		return context.getBeans( ).get( name );
	}
	public void setPersistentGlobalVariable( String name, Serializable obj )
	{
		context.registerGlobalBean( name, obj );
	}
	public void deletePersistentGlobalVariable( String name )
	{
		context.unregisterGlobalBean( name );
	}
	public Object getPersistentGlobalVariable( String name )
	{
		return context.getGlobalBeans( ).get( name );
	}
	public void setRegisteredPersistantObjects( Map persistantMap )
	{
		context.registerBeans( persistantMap );
	}
	public Object getParameterValue( String name )
	{
		return context.getParameterValue( name );
	}
	public void setParameterValue( String name, Object value )
	{
		context.setParameterValue( name, value );