Label label = new Label( cmpContent, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalIndent = 10; label.setLayoutData( gd ); label.setText( Messages.getString( "DialLabelSheet.Label.Format" ) ); }  btnFormatSpecifier = new Button( cmpContent, SWT.PUSH ); { GridData gd = new GridData( ); gd.horizontalIndent = 25; gd.widthHint = 20; gd.heightHint = 20; btnFormatSpecifier.setLayoutData( gd ); btnFormatSpecifier.setToolTipText( Messages.getString( "BaseDataDefinitionComponent.Text.EditFormat" ) ); btnFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); btnFormatSpecifier.getImage( ) .setBackground( btnFormatSpecifier.getBackground( ) ); btnFormatSpecifier.addSelectionListener( this ); }
	protected Composite getComponent( Composite parent )	{		ChartUIUtil.bindHelp( parent, ChartHelpContextIds.POPUP_SERIES_LABEL );				// Layout for the content composite		GridLayout glContent = new GridLayout( 2, false );		glContent.verticalSpacing = 0;		glContent.marginHeight = 7;		glContent.marginWidth = 7;		cmpContent = new Composite( parent, SWT.NONE );		cmpContent.setLayout( glContent );		Label label = new Label( cmpContent, SWT.NONE );		{			GridData gd = new GridData( );			gd.horizontalIndent = 10;			label.setLayoutData( gd );			label.setText( Messages.getString( "DialLabelSheet.Label.Format" ) ); //$NON-NLS-1$		}		btnFormatSpecifier = new Button( cmpContent, SWT.PUSH );		{			GridData gd = new GridData( );			gd.horizontalIndent = 25;			gd.widthHint = 20;			gd.heightHint = 20;			btnFormatSpecifier.setLayoutData( gd );			btnFormatSpecifier.setToolTipText( Messages.getString( "BaseDataDefinitionComponent.Text.EditFormat" ) ); //$NON-NLS-1$			btnFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$			btnFormatSpecifier.getImage( )					.setBackground( btnFormatSpecifier.getBackground( ) );			btnFormatSpecifier.addSelectionListener( this );		}		LabelAttributesContext attributesContext = new LabelAttributesContext( );		attributesContext.isPositionEnabled = false;		attributesContext.isFontAlignmentEnabled = false;		lacTitle = new LabelAttributesComposite( cmpContent,				SWT.NONE,				getContext( ),				attributesContext,				null,				null,				getSeriesForProcessing( ).getDial( ).getLabel( ),				getChart( ).getUnits( ) );		GridData gdLACTitle = new GridData( GridData.FILL_HORIZONTAL );		gdLACTitle.horizontalSpan = 2;		lacTitle.setLayoutData( gdLACTitle );		lacTitle.addListener( this );		return cmpContent;	}