btnEndFormatSpecifier = new Button( cmpRangeValue, SWT.PUSH ); GridData gdBTNEndFormatSpecifier = new GridData( ); gdBTNEndFormatSpecifier.heightHint = 18; gdBTNEndFormatSpecifier.widthHint = 18; btnEndFormatSpecifier.setLayoutData( gdBTNEndFormatSpecifier ); btnEndFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); btnEndFormatSpecifier.addSelectionListener( this ); btnEndFormatSpecifier.getImage( ) .setBackground( btnEndFormatSpecifier.getBackground( ) );
	protected Composite getComponent( Composite parent )	{		// Layout for the main composite		GridLayout glContent = new GridLayout( );		glContent.numColumns = 2;		glContent.horizontalSpacing = 5;		glContent.verticalSpacing = 5;		glContent.marginHeight = 7;		glContent.marginWidth = 7;		cmpContent = new Composite( parent, SWT.NONE );		cmpContent.setLayout( glContent );		// Layout for the List composite		GridLayout glList = new GridLayout( );		glList.numColumns = 3;		glList.horizontalSpacing = 5;		glList.verticalSpacing = 5;		glList.marginHeight = 0;		glList.marginWidth = 0;		cmpList = new Composite( cmpContent, SWT.NONE );		GridData gdCMPList = new GridData( GridData.FILL_BOTH );		gdCMPList.horizontalSpan = 2;		cmpList.setLayoutData( gdCMPList );		cmpList.setLayout( glList );		// Layout for the buttons composite		GridLayout glButtons = new GridLayout( );		glButtons.numColumns = 3;		glButtons.horizontalSpacing = 5;		glButtons.verticalSpacing = 5;		glButtons.marginHeight = 5;		glButtons.marginWidth = 0;		Composite cmpButtons = new Composite( cmpList, SWT.NONE );		GridData gdCMPButtons = new GridData( GridData.FILL_HORIZONTAL );		gdCMPButtons.horizontalSpan = 3;		cmpButtons.setLayoutData( gdCMPButtons );		cmpButtons.setLayout( glButtons );		btnAddRange = new Button( cmpButtons, SWT.PUSH );		GridData gdBTNAddRange = new GridData( GridData.FILL_HORIZONTAL );		btnAddRange.setLayoutData( gdBTNAddRange );		btnAddRange.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.AddRegion" ) ); //$NON-NLS-1$		btnAddRange.addSelectionListener( this );		btnRemove = new Button( cmpButtons, SWT.PUSH );		GridData gdBTNRemove = new GridData( GridData.FILL_HORIZONTAL );		btnRemove.setLayoutData( gdBTNRemove );		btnRemove.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.RemoveEntry" ) ); //$NON-NLS-1$		btnRemove.addSelectionListener( this );		lstMarkers = new List( cmpList, SWT.BORDER | SWT.SINGLE | SWT.V_SCROLL );		GridData gdLSTMarkers = new GridData( GridData.FILL_HORIZONTAL );		gdLSTMarkers.horizontalSpan = 3;		gdLSTMarkers.heightHint = 100;		lstMarkers.setLayoutData( gdLSTMarkers );		lstMarkers.addSelectionListener( this );		grpGeneral = new Group( cmpContent, SWT.NONE );		GridData gdCMPGeneral = new GridData( GridData.VERTICAL_ALIGN_BEGINNING				| GridData.FILL_HORIZONTAL );		gdCMPGeneral.widthHint = 180;		grpGeneral.setLayoutData( gdCMPGeneral );		grpGeneral.setLayout( new GridLayout( ) );		grpGeneral.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.DialProperties" ) ); //$NON-NLS-1$		// Layout for the Marker Range composite		GridLayout glMarkerRange = new GridLayout( );		glMarkerRange.numColumns = 3;		glMarkerRange.horizontalSpacing = 5;		glMarkerRange.verticalSpacing = 5;		glMarkerRange.marginHeight = 7;		glMarkerRange.marginWidth = 7;		cmpRange = new Composite( grpGeneral, SWT.NONE );		GridData gdGRPRange = new GridData( GridData.FILL_HORIZONTAL );		cmpRange.setLayoutData( gdGRPRange );		cmpRange.setLayout( glMarkerRange );		// Layout for Value composite		GridLayout glRangeValue = new GridLayout( );		glRangeValue.numColumns = 3;		glRangeValue.horizontalSpacing = 2;		glRangeValue.verticalSpacing = 5;		glRangeValue.marginHeight = 0;		glRangeValue.marginWidth = 0;		Composite cmpRangeValue = new Composite( cmpRange, SWT.NONE );		GridData gdCMPRangeValue = new GridData( GridData.FILL_HORIZONTAL );		gdCMPRangeValue.horizontalSpan = 3;		cmpRangeValue.setLayoutData( gdCMPRangeValue );		cmpRangeValue.setLayout( glRangeValue );		lblStartValue = new Label( cmpRangeValue, SWT.NONE );		GridData gdLBLStartValue = new GridData( );		gdLBLStartValue.horizontalIndent = 5;		lblStartValue.setLayoutData( gdLBLStartValue );		lblStartValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.StartValue" ) ); //$NON-NLS-1$		txtStartValue = new TextEditorComposite( cmpRangeValue, SWT.BORDER				| SWT.SINGLE );		GridData gdTXTStartValue = new GridData( GridData.FILL_HORIZONTAL );		txtStartValue.setLayoutData( gdTXTStartValue );		txtStartValue.addListener( this );		btnStartFormatSpecifier = new Button( cmpRangeValue, SWT.PUSH );		GridData gdBTNStartFormatSpecifier = new GridData( );		gdBTNStartFormatSpecifier.heightHint = 18;		gdBTNStartFormatSpecifier.widthHint = 18;		btnStartFormatSpecifier.setLayoutData( gdBTNStartFormatSpecifier );		btnStartFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$		btnStartFormatSpecifier.addSelectionListener( this );		btnStartFormatSpecifier.getImage( )				.setBackground( btnStartFormatSpecifier.getBackground( ) );		lblEndValue = new Label( cmpRangeValue, SWT.NONE );		GridData gdLBLEndValue = new GridData( );		gdLBLEndValue.horizontalIndent = 5;		lblEndValue.setLayoutData( gdLBLEndValue );		lblEndValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.EndValue" ) ); //$NON-NLS-1$		txtEndValue = new TextEditorComposite( cmpRangeValue, SWT.BORDER				| SWT.SINGLE );		GridData gdTXTEndValue = new GridData( GridData.FILL_HORIZONTAL );		txtEndValue.setLayoutData( gdTXTEndValue );		txtEndValue.addListener( this );		btnEndFormatSpecifier = new Button( cmpRangeValue, SWT.PUSH );		GridData gdBTNEndFormatSpecifier = new GridData( );		gdBTNEndFormatSpecifier.heightHint = 18;		gdBTNEndFormatSpecifier.widthHint = 18;		btnEndFormatSpecifier.setLayoutData( gdBTNEndFormatSpecifier );		btnEndFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$		btnEndFormatSpecifier.addSelectionListener( this );		btnEndFormatSpecifier.getImage( )				.setBackground( btnEndFormatSpecifier.getBackground( ) );		// Radius		lblInnerRadius = new Label( cmpRangeValue, SWT.NONE );		GridData gdLBLInnerRadius = new GridData( );		gdLBLInnerRadius.horizontalIndent = 5;		lblInnerRadius.setLayoutData( gdLBLInnerRadius );		lblInnerRadius.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.InnerRadius" ) ); //$NON-NLS-1$		txtInnerRadius = new TextEditorComposite( cmpRangeValue, SWT.BORDER				| SWT.SINGLE );		GridData gdTXTInnerRadius = new GridData( GridData.FILL_HORIZONTAL );		gdTXTInnerRadius.horizontalSpan = 2;		txtInnerRadius.setLayoutData( gdTXTInnerRadius );		txtInnerRadius.addListener( this );		lblOuterRadius = new Label( cmpRangeValue, SWT.NONE );		GridData gdLBLOuterRadius = new GridData( );		gdLBLOuterRadius.horizontalIndent = 5;		lblOuterRadius.setLayoutData( gdLBLOuterRadius );		lblOuterRadius.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.OuterRadius" ) ); //$NON-NLS-1$		txtOuterRadius = new TextEditorComposite( cmpRangeValue, SWT.BORDER				| SWT.SINGLE );		GridData gdTXTOuterRadius = new GridData( GridData.FILL_HORIZONTAL );		gdTXTOuterRadius.horizontalSpan = 2;		txtOuterRadius.setLayoutData( gdTXTOuterRadius );		txtOuterRadius.addListener( this );		// Fill		lblRangeFill = new Label( cmpRange, SWT.NONE );		GridData gdLBLRangeFill = new GridData( );		gdLBLRangeFill.horizontalIndent = 5;		lblRangeFill.setLayoutData( gdLBLRangeFill );		lblRangeFill.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Fill" ) ); //$NON-NLS-1$		fccRange = new FillChooserComposite( cmpRange,				SWT.NONE,				getContext( ),				null,				true,				true );		GridData gdFCCRange = new GridData( GridData.FILL_HORIZONTAL );		gdFCCRange.horizontalSpan = 2;		fccRange.setLayoutData( gdFCCRange );		fccRange.addListener( this );		// Range Outline		grpMarkerRange = new Group( cmpRange, SWT.NONE );		GridData gdGRPMarkerRange = new GridData( GridData.FILL_HORIZONTAL );		gdGRPMarkerRange.horizontalSpan = 3;		grpMarkerRange.setLayoutData( gdGRPMarkerRange );		grpMarkerRange.setLayout( new FillLayout( ) );		grpMarkerRange.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.RangeOutline" ) ); //$NON-NLS-1$		liacMarkerRange = new LineAttributesComposite( grpMarkerRange,				SWT.NONE,				null,				true,				true,				true );		liacMarkerRange.addListener( this );		// Label Properties		// lacLabel = new LabelAttributesComposite( cmpContent,		// SWT.NONE,		// Messages.getString(		// "BaseAxisMarkerAttributeSheetImpl.Lbl.DialLabelProperties" ),		// //$NON-NLS-1$		// LabelImpl.create( ),		// chart.getUnits( ),		// false,		// false,		// serviceprovider,		// false,		// false );		// GridData gdLACLabel = new GridData( GridData.FILL_BOTH );		// lacLabel.setLayoutData( gdLACLabel );		// lacLabel.addListener( this );		// lacLabel.setEnabled( false );		populateLists( );		refreshButtons( );		return cmpContent;	}