Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
chart/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtEventHandler.java
{
				cd.setRed( Math.max( 0, cd.getRed( ) * 2 - 255 ) );
				cd.setGreen( Math.max( 0, cd.getGreen( ) * 2 - 255 ) );
				cd.setBlue( Math.max( 0, cd.getBlue( ) * 2 - 255 ) );
			}
		}
	}
	private final void hideTooltip( )
	{
		( (Composite) iun.peerInstance( ) ).setToolTipText( null );
	}
	private final void showTooltip( RegionAction ra )
	{
		Action ac = ra.getAction( );
		TooltipValue tv = (TooltipValue) ac.getValue( );
		String s = tv.getText( );
		( (Composite) iun.peerInstance( ) ).setToolTipText( s );
	}
	public final void dispose( )
	{
		if ( raHighlighted != null )
		{
			raHighlighted.dispose( );
			raHighlighted = null;
		}
		hand_cursor.dispose( );
		_gc.dispose( );
	}
}