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.eContainmentFeature( ).getFeatureID( ) == TypePackage.PIE_SERIES__TITLE )
				{
					return StyledComponent.SERIES_TITLE_LITERAL;
				}
			}
		}
		if ( obj instanceof Text )
		{
			if ( obj.eContainer( ) instanceof Legend )
			{
				return StyledComponent.LEGEND_LABEL_LITERAL;
			}
		}
		if ( obj instanceof LineAttributes && obj.eContainer( ) instanceof Axis )
		{
			return StyledComponent.AXIS_LINE_LITERAL;
		}
		return null;
	}
	private void applyStyles( Chart model, StyledComponent type,
			EObject component, IStyleProcessor externalProcessor )
	{
		if ( component instanceof Block )
		{
			
			if ( component.eContainer( ) instanceof Chart )
			{
				IStyle style = getMingledStyle( model, type, externalProcessor );