btnMoreOpt = new Button( cmp, SWT.TOGGLE ); btnMoreOpt.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnMoreOpt.setText( Messages.getString( "ChartLegendSheetImpl.Label.MoreOptions" ) ); btnMoreOpt.addSelectionListener( this );
btnAreaProp = new Button( cmp, SWT.TOGGLE ); btnAreaProp.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnAreaProp.setText( Messages.getString( "ChartLegendSheetImpl.Label.AreaProperties" ) ); btnAreaProp.addSelectionListener( this );
	private void createButtonGroup( Composite parent )	{		Composite cmp = new Composite( parent, SWT.NONE );		{			cmp.setLayout( new GridLayout( 5, true ) );			GridData gridData = new GridData( GridData.FILL_HORIZONTAL );			gridData.horizontalSpan = 2;			gridData.grabExcessVerticalSpace = true;			gridData.verticalAlignment = SWT.END;			cmp.setLayoutData( gridData );		}		btnLegendText = new Button( cmp, SWT.TOGGLE );		btnLegendText.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		btnLegendText.setText( Messages.getString( "ChartLegendSheetImpl.Label.LegendText" ) ); //$NON-NLS-1$		btnLegendText.addSelectionListener( this );		btnMoreOpt = new Button( cmp, SWT.TOGGLE );		btnMoreOpt.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		btnMoreOpt.setText( Messages.getString( "ChartLegendSheetImpl.Label.MoreOptions" ) ); //$NON-NLS-1$		btnMoreOpt.addSelectionListener( this );	}