gd.horizontalAlignment = SWT.CENTER; btnVisible.setLayoutData( gd ); btnVisible.setSelection( series.isVisible( ) ); btnVisible.setEnabled( !series.getClass( ) .isAssignableFrom( SeriesImpl.class ) ); btnVisible.addSelectionListener( this ); }  btnStack = new Button( parent, SWT.CHECK ); { GridData gd = new GridData( ); gd.horizontalAlignment = SWT.CENTER; btnStack.setLayoutData( gd ); btnStack.setEnabled( series.canBeStacked( ) ); btnStack.setSelection( series.isStacked( ) ); btnStack.addSelectionListener( this );
gd.horizontalSpan = 3; dummy.setLayoutData( gd );
		public void placeComponents( Composite parent )		{			Series series = seriesDefn.getDesignTimeSeries();						lblSeries = new Label( parent, SWT.NONE );			{				GridData gd = new GridData( );				lblSeries.setLayoutData( gd );				lblSeries.setText( seriesName );				lblSeries.setForeground( Display.getDefault( )						.getSystemColor( SWT.COLOR_DARK_BLUE ) );				lblSeries.addMouseListener( this );				lblSeries.addMouseTrackListener( this );			}			List keys = null;			if ( getContext( ).getUIServiceProvider( ) != null )			{				keys = getContext( ).getUIServiceProvider( )						.getRegisteredKeys( );			}			txtTitle = new ExternalizedTextEditorComposite( parent,					SWT.BORDER | SWT.SINGLE,					-1,					-1,					keys,					getContext( ).getUIServiceProvider( ),					series.getSeriesIdentifier( ).toString( ) );			{				GridData gd = new GridData( GridData.FILL_HORIZONTAL );				txtTitle.setLayoutData( gd );				txtTitle.addListener( this );			}			cmbTypes = new Combo( parent, SWT.DROP_DOWN | SWT.READ_ONLY );			{				GridData gd = new GridData( GridData.FILL_HORIZONTAL );				cmbTypes.setLayoutData( gd );				cmbTypes.addSelectionListener( this );			}			btnVisible = new Button( parent, SWT.CHECK );			{				GridData gd = new GridData( );				gd.horizontalAlignment = SWT.CENTER;				btnVisible.setLayoutData( gd );				btnVisible.setSelection( series.isVisible( ) );				btnVisible.setEnabled( !series.getClass( )						.isAssignableFrom( SeriesImpl.class ) );				btnVisible.addSelectionListener( this );			}			btnStack = new Button( parent, SWT.CHECK );			{				GridData gd = new GridData( );				gd.horizontalAlignment = SWT.CENTER;				btnStack.setLayoutData( gd );				btnStack.setEnabled( series.canBeStacked( ) );				btnStack.setSelection( series.isStacked( ) );				btnStack.addSelectionListener( this );			}			populateLists( seriesDefn.getDesignTimeSeries( ) );		}