Bug 211186 [Regression] All chart script does not work [13]
Description: All chart script does not work. Build number: 2.3.0.v20071128-0800 Steps to reproduce: 1. New a chart, select the chart and change to Script tab, add some functions. 2. Preview. Expected result: The scripts works. Actual result: The scripts does not work. Error log: N/A
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/views/provider/ChartViewNodeProvider.java
{
	public Object[] getChildren( Object object )
	{
		return new Object[]{};
	}
	public Image getNodeIcon( Object model )
	{
		DesignElementHandle handle = (DesignElementHandle) model;
		String iconPath = ChartUIConstants.IMAGE_OUTLINE;
		if ( handle.getModule( ) instanceof Library )
		{
			iconPath = ChartUIConstants.IMAGE_OUTLINE_LIB;
		}
		return UIHelper.getImage( iconPath );
	}
	public Object getParent( Object model )
	{
		return ( (DesignElementHandle) model ).getContainer( );
	}
	public boolean hasChildren( Object object )
	{
		return false;
	}
}