fccShadow = new FillChooserComposite( this, SWT.NONE, ( (LineSeries) series ).getShadowColor( ), false, false ); GridData gdFCCShadow = new GridData( GridData.FILL_HORIZONTAL ); fccShadow.setLayoutData( gdFCCShadow );
fccShadow = new FillChooserComposite(this, SWT.NONE, ((LineSeries) series).getShadowColor(), false, false); GridData gdFCCShadow = new GridData(GridData.FILL_HORIZONTAL); fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this);
	private void placeComponents( )	{		// Layout for content composite		GridLayout glContent = new GridLayout( );		glContent.numColumns = 4;		glContent.marginHeight = 2;		glContent.marginWidth = 2;		// Main content composite		this.setLayout( glContent );		Label lblShadow = new Label( this, SWT.NONE );		GridData gdLBLShadow = new GridData( );		lblShadow.setLayoutData( gdLBLShadow );		lblShadow.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.ShadowColor" ) ); //$NON-NLS-1$		fccShadow = new FillChooserComposite( this,				SWT.NONE,				( (LineSeries) series ).getShadowColor( ),				false,				false );		GridData gdFCCShadow = new GridData( GridData.FILL_HORIZONTAL );		fccShadow.setLayoutData( gdFCCShadow );		btnCurve = new Button( this, SWT.CHECK );		GridData gdBTNCurve = new GridData( GridData.FILL_HORIZONTAL );		gdBTNCurve.horizontalSpan = 2;		btnCurve.setLayoutData( gdBTNCurve );		btnCurve.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.ShowLinesAsCurves" ) ); //$NON-NLS-1$		btnCurve.setSelection( ( (LineSeries) series ).isCurve( ) );		btnCurve.addSelectionListener( this );		// Layout for the Marker group		GridLayout glMarker = new GridLayout( );		glMarker.numColumns = 2;		glMarker.marginHeight = 4;		glMarker.marginWidth = 4;		glMarker.verticalSpacing = 4;		glMarker.horizontalSpacing = 4;		grpMarker = new Group( this, SWT.NONE );		GridData gdGRPMarker = new GridData( GridData.FILL_BOTH );		gdGRPMarker.horizontalSpan = 2;		grpMarker.setLayoutData( gdGRPMarker );		grpMarker.setLayout( glMarker );		grpMarker.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.Marker" ) ); //$NON-NLS-1$		btnMarkerVisible = new Button( grpMarker, SWT.CHECK );		GridData gdBTNVisible = new GridData( );		gdBTNVisible.horizontalSpan = 2;		btnMarkerVisible.setLayoutData( gdBTNVisible );		btnMarkerVisible.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.IsVisible" ) ); //$NON-NLS-1$		btnMarkerVisible.addSelectionListener( this );		btnMarkerVisible.setSelection( ( (LineSeries) series ).getMarker( )				.isVisible( ) );		Label lblType = new Label( grpMarker, SWT.NONE );		GridData gdLBLType = new GridData( );		lblType.setLayoutData( gdLBLType );		lblType.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.Type" ) ); //$NON-NLS-1$		cmbMarkerTypes = new Combo( grpMarker, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBMarkerTypes = new GridData( GridData.FILL_HORIZONTAL );		cmbMarkerTypes.setLayoutData( gdCMBMarkerTypes );		cmbMarkerTypes.addSelectionListener( this );		Label lblSize = new Label( grpMarker, SWT.NONE );		GridData gdLBLSize = new GridData( );		lblSize.setLayoutData( gdLBLSize );		lblSize.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.Size" ) ); //$NON-NLS-1$		iscMarkerSize = new IntegerSpinControl( grpMarker,				SWT.NONE,				( (LineSeries) series ).getMarker( ).getSize( ) );		GridData gdISCMarkerSize = new GridData( GridData.FILL_HORIZONTAL );		iscMarkerSize.setLayoutData( gdISCMarkerSize );		iscMarkerSize.setMinimum( 0 );		iscMarkerSize.setMaximum( 100 );		iscMarkerSize.addListener( this );		grpLine = new Group( this, SWT.NONE );		GridData gdGRPLine = new GridData( GridData.FILL_BOTH );		gdGRPLine.horizontalSpan = 2;		grpLine.setLayout( new FillLayout( ) );		grpLine.setLayoutData( gdGRPLine );		grpLine.setText( Messages.getString( "LineSeriesAttributeComposite.Lbl.Line" ) ); //$NON-NLS-1$		liacLine = new LineAttributesComposite( grpLine,				SWT.NONE,				( (LineSeries) series ).getLineAttributes( ),				true,				true,				true );		liacLine.addListener( this );		populateLists( );	}