Bug 183733 Implement the IScriptOjectClassInfo to provide the class infromation to support the JS code assistant.
Engine should implement the IScriptObjectClassInfo interface to return the class information for script object.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/TextItemScriptExecutor.java
addException( context, e );
		}
	}
	private static ITextItemEventHandler getEventHandler(
			ReportItemDesign design, ExecutionContext context )
	{
		if (design.getHandle() instanceof TextItemHandle)
		{
			TextItemHandle handle = ( TextItemHandle ) design.getHandle( );
			if ( handle == null )
				return null;
			return getEventHandler( handle, context );
		}
		return null;
	}
	private static ITextItemEventHandler getEventHandler(
			TextItemHandle handle, ExecutionContext context )
	{
		ITextItemEventHandler eh = null;
		try
		{
			eh = ( ITextItemEventHandler ) getInstance( handle, context );
		} catch ( ClassCastException e )
		{
			addClassCastException( context, e, handle.getEventHandlerClass( ),
					ITextItemEventHandler.class );
		}
		return eh;
	}
}