btnLabel = createToggleButton( cmp, isMeterSeries( ) ? Messages.getString( "SeriesYSheetImpl.Label.Region" ) : Messages.getString( "SeriesYSheetImpl.Label.Labels" ) ); btnLabel.addSelectionListener( this );
if ( !( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof StockSeries ) ) { btnLabel = createToggleButton( cmp, isMeterSeries( ) ? Messages.getString( "SeriesYSheetImpl.Label.Region" ) : Messages.getString( "SeriesYSheetImpl.Label.Labels" ) ); btnLabel.addSelectionListener( this ); } else {  btnLabel = new Button( cmp, SWT.NONE ); btnLabel.setVisible( false ); }
	private void createButtonGroup( Composite parent )	{		Composite cmp = new Composite( parent, SWT.NONE );		{			cmp.setLayout( new GridLayout( 5, false ) );			GridData gridData = new GridData( GridData.FILL_HORIZONTAL );			gridData.horizontalSpan = 2;			gridData.grabExcessVerticalSpace = true;			gridData.verticalAlignment = SWT.END;			cmp.setLayoutData( gridData );		}		btnLabel = createToggleButton( cmp,				isMeterSeries( )						? Messages.getString( "SeriesYSheetImpl.Label.Region" ) : Messages.getString( "SeriesYSheetImpl.Label.Labels" ) ); //$NON-NLS-1$ //$NON-NLS-2$		btnLabel.addSelectionListener( this );		btnInteractivity = createToggleButton( cmp,				Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$		btnInteractivity.addSelectionListener( this );		if ( isTrendlineAvailable( ) )		{			btnTrendline = createToggleButton( cmp,					Messages.getString( "SeriesYSheetImpl.Label.Trendline" ) ); //$NON-NLS-1$			btnTrendline.addSelectionListener( this );			btnTrendline.setEnabled( btnShowLine.getSelection( ) );		}		btnDataPoint = createToggleButton( cmp,				Messages.getString( "SeriesYSheetImpl.Label.DataPoint" ) ); //$NON-NLS-1$		btnDataPoint.addSelectionListener( this );	}