Bug 180249 BPS39 - Centralized Chart Engine API
Centralized and clearer Engine API -Create one single entry point class ChartEngine in an api package so it's easy to find (with access to IGenerator, Serializer, Device Renderers) -Create a new IGenerator interface instead of exposing the Generator class.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
if ( obj instanceof Plot )
		{
			return StyledComponent.PLOT_BACKGROUND_LITERAL;
		}
		if ( obj instanceof Legend )
		{
			return StyledComponent.LEGEND_BACKGROUND_LITERAL;
		}
		if ( obj instanceof TitleBlock )
		{
			return StyledComponent.CHART_TITLE_LITERAL;
		}
		if ( obj instanceof Label )
		{
			if ( obj.eContainer( ) instanceof Axis )
			{
				if ( obj.eContainmentFeature( ).getFeatureID( ) == ComponentPackage.AXIS__TITLE )
				{
					return StyledComponent.AXIS_TITLE_LITERAL;
				}
				else if ( obj.eContainmentFeature( ).getFeatureID( ) == ComponentPackage.AXIS__LABEL )
				{
					return StyledComponent.AXIS_LABEL_LITERAL;
				}
			}
			if ( obj.eContainer( ) instanceof Series )
			{
				if ( obj.eContainmentFeature( ).getFeatureID( ) == ComponentPackage.SERIES__LABEL )
				{
					return StyledComponent.SERIES_LABEL_LITERAL;