btnVisible.setSelection( newSeries.isVisible( ) ); btnStack.setEnabled( newSeries.canBeStacked( ) ); btnStack.setSelection( newSeries.isStacked( ) ); btnTranslucent.setSelection( newSeries.isTranslucent( ) ); txtTitle.setText( newSeries.getSeriesIdentifier( ) .toString( ) );
		public void widgetSelected( SelectionEvent e )		{			Series series = seriesDefn.getDesignTimeSeries( );			if ( e.getSource( ).equals( cmbTypes ) )			{				if ( seriesDefn.getDesignTimeSeries( )						.canParticipateInCombination( ) )				{					// Get a new series of the selected type by using as much					// information as possible from the existing series					Series newSeries = getNewSeries( cmbTypes.getText( ),							series );					newSeries.eAdapters( ).addAll( seriesDefn.eAdapters( ) );					seriesDefn.getSeries( ).set( 0, newSeries );				}			}			else if ( e.getSource( ).equals( btnVisible ) )			{				series.setVisible( btnVisible.getSelection( ) );			}			else if ( e.getSource( ).equals( btnStack ) )			{				series.setStacked( btnStack.getSelection( ) );			}			else if ( e.getSource( ).equals( btnTranslucent ) )			{				series.setTranslucent( btnTranslucent.getSelection( ) );			}		}