if ( ( (LineSeries) series ).getMarkers( ).size( ) == 0 ) { Marker mk; if ( ( (LineSeries) series ).getMarker( ) != null ) { mk = (Marker) EcoreUtil.copy( ( (LineSeries) series ).getMarker( ) ); } else { mk = AttributeFactory.eINSTANCE.createMarker( ); mk.setType( MarkerType.BOX_LITERAL ); mk.setSize( 5 ); mk.setVisible( true ); }  mk.eAdapters( ).addAll( series.eAdapters( ) );  ( (LineSeries) series ).getMarkers( ).add( mk ); }
	public LineSeriesAttributeComposite( Composite parent, int style,			Series series )	{		super( parent, style );		if ( !( series instanceof LineSeriesImpl ) )		{			try			{				throw new ChartException( ChartUIExtensionPlugin.ID,						ChartException.VALIDATION,						"LineSeriesAttributeComposite.Exception.IllegalArgument", new Object[]{series.getClass( ).getName( )}, Messages.getResourceBundle( ) ); //$NON-NLS-1$			}			catch ( ChartException e )			{				logger.log( e );				e.printStackTrace( );			}		}		this.series = series;		init( );		placeComponents( );	}