CellHandle handle = ( CellHandle ) cellDesign.getHandle( ); if ( handle != null ) { ICellEventHandler eh = ( ICellEventHandler ) getInstance( ( CellHandle ) cellDesign .getHandle( ) ); if ( eh != null ) eh.onCreate( cell, rowData, context.getReportContext( ) ); }
ICellEventHandler eh = getEventHandler( cellDesign, context ); if ( eh != null ) eh.onCreate( cell, rowData, context.getReportContext( ) );
	public static void handleOnCreate( CellContent content, IRowData rowData,			ExecutionContext context )	{		try		{			ReportItemDesign cellDesign = ( ReportItemDesign ) content					.getGenerateBy( );			ICellInstance cell = new CellInstance( content, context );			if ( handleJS( cell, cellDesign.getOnCreate( ), context ).didRun( ) )				return;			CellHandle handle = ( CellHandle ) cellDesign.getHandle( );			if ( handle != null )			{				ICellEventHandler eh = ( ICellEventHandler ) getInstance( ( CellHandle ) cellDesign						.getHandle( ) );				if ( eh != null )					eh.onCreate( cell, rowData, context.getReportContext( ) );			}		} catch ( Exception e )		{			log.log( Level.WARNING, e.getMessage( ), e );		}	}