Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 210913 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/birt/chart/script/ScriptHandler.java (+10 lines)
Lines 75-80 Link Here
75
		{
75
		{
76
			JAVA_FUNTION_MAP.put( ms[i].getName( ), ms[i] );
76
			JAVA_FUNTION_MAP.put( ms[i].getName( ), ms[i] );
77
		}
77
		}
78
		
79
		// do the same for the extended chart events
80
		{
81
			Method[] ems = SecurityUtil.getMethods( IExtendedChartEventsHandler.class );
82
			
83
			for ( int i = 0; i < ems.length; i++ )
84
			{
85
				JAVA_FUNTION_MAP.put( ems[i].getName( ), ems[i] );
86
			}
87
		}
78
	}
88
	}
79
89
80
	/**
90
	/**
(-)src/org/eclipse/birt/chart/script/IExtendedChartEventsHandler.java (+7 lines)
Added Link Here
1
package org.eclipse.birt.chart.script;
2
3
import org.eclipse.birt.chart.model.Chart;
4
5
public interface IExtendedChartEventsHandler {
6
	void beforeComputations( Chart cm, Object oComputations );
7
}

Return to bug 210913