GridLayout glValue = new GridLayout( ); glValue.numColumns = 3; glValue.horizontalSpacing = 5; glValue.verticalSpacing = 5; glValue.marginHeight = 0; glValue.marginWidth = 0;  Composite cmpValue = new Composite( cmpLine, SWT.NONE ); GridData gdCMPValue = new GridData( GridData.FILL_HORIZONTAL ); gdCMPValue.horizontalSpan = 3; cmpValue.setLayoutData( gdCMPValue ); cmpValue.setLayout( glValue );  lblValue = new Label( cmpValue, SWT.NONE );
lblValue = new Label( cmpLine, SWT.NONE );
	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 );		btnAddLine = new Button( cmpButtons, SWT.PUSH );		GridData gdBTNAddLine = new GridData( GridData.FILL_HORIZONTAL );		btnAddLine.setLayoutData( gdBTNAddLine );		btnAddLine.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.AddLine" ) ); //$NON-NLS-1$		btnAddLine.addSelectionListener( this );		btnAddRange = new Button( cmpButtons, SWT.PUSH );		GridData gdBTNAddRange = new GridData( GridData.FILL_HORIZONTAL );		btnAddRange.setLayoutData( gdBTNAddRange );		btnAddRange.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.AddRange" ) ); //$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 );		// Layout for the general composite		slMarkers = new StackLayout( );		slMarkers.marginHeight = 0;		slMarkers.marginWidth = 0;		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( slMarkers );		grpGeneral.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerProperties" ) ); //$NON-NLS-1$		// Layout for the Marker Line composite		GridLayout glMarkerLine = new GridLayout( );		glMarkerLine.numColumns = 3;		glMarkerLine.horizontalSpacing = 5;		glMarkerLine.verticalSpacing = 5;		glMarkerLine.marginHeight = 7;		glMarkerLine.marginWidth = 7;		cmpLine = new Composite( grpGeneral, SWT.NONE );		GridData gdGRPLine = new GridData( GridData.FILL_HORIZONTAL );		cmpLine.setLayoutData( gdGRPLine );		cmpLine.setLayout( glMarkerLine );		lblLineLabel = new Label( cmpLine, SWT.NONE );		{			GridData gd = new GridData( );			gd.horizontalIndent = 5;			gd.widthHint = 38;			lblLineLabel.setLayoutData( gd );			lblLineLabel.setText( Messages.getString( "AxisMarkersSheet.Label.Label" ) ); //$NON-NLS-1$		}		txtLineEText = new ExternalizedTextEditorComposite( cmpLine,				SWT.BORDER | SWT.SINGLE,				-1,				-1,				getContext( ).getUIServiceProvider( ).getRegisteredKeys( ),				getContext( ).getUIServiceProvider( ),				"" ); //$NON-NLS-1$		{			GridData gd = new GridData( GridData.FILL_HORIZONTAL );			gd.horizontalSpan = 2;			txtLineEText.setLayoutData( gd );			txtLineEText.addListener( this );		}		// Layout for Value composite		GridLayout glValue = new GridLayout( );		glValue.numColumns = 3;		glValue.horizontalSpacing = 5;		glValue.verticalSpacing = 5;		glValue.marginHeight = 0;		glValue.marginWidth = 0;		Composite cmpValue = new Composite( cmpLine, SWT.NONE );		GridData gdCMPValue = new GridData( GridData.FILL_HORIZONTAL );		gdCMPValue.horizontalSpan = 3;		cmpValue.setLayoutData( gdCMPValue );		cmpValue.setLayout( glValue );		lblValue = new Label( cmpValue, SWT.NONE );		GridData gdLBLValue = new GridData( );		gdLBLValue.horizontalIndent = 5;		gdLBLValue.widthHint = 38;		lblValue.setLayoutData( gdLBLValue );		lblValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Value" ) ); //$NON-NLS-1$		txtValue = new TextEditorComposite( cmpValue,				SWT.BORDER | SWT.SINGLE,				true );		GridData gdTXTValue = new GridData( GridData.FILL_HORIZONTAL );		txtValue.setLayoutData( gdTXTValue );		txtValue.addListener( this );		btnLineFormatSpecifier = new Button( cmpValue, SWT.PUSH );		GridData gdBTNLineFormatSpecifier = new GridData( );		gdBTNLineFormatSpecifier.heightHint = 18;		gdBTNLineFormatSpecifier.widthHint = 18;		btnLineFormatSpecifier.setLayoutData( gdBTNLineFormatSpecifier );		btnLineFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$		btnLineFormatSpecifier.addSelectionListener( this );		btnLineFormatSpecifier.getImage( )				.setBackground( btnLineFormatSpecifier.getBackground( ) );		lblAnchor = new Label( cmpLine, SWT.NONE );		GridData gdLBLAnchor = new GridData( );		gdLBLAnchor.horizontalIndent = 5;		lblAnchor.setLayoutData( gdLBLAnchor );		lblAnchor.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Anchor" ) ); //$NON-NLS-1$		cmbLineAnchor = new Combo( cmpLine, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBAnchor = new GridData( GridData.FILL_HORIZONTAL );		gdCMBAnchor.horizontalSpan = 2;		cmbLineAnchor.setLayoutData( gdCMBAnchor );		cmbLineAnchor.addSelectionListener( this );		grpMarkerLine = new Group( cmpLine, SWT.NONE );		GridData gdGRPMarkerLine = new GridData( GridData.FILL_HORIZONTAL );		gdGRPMarkerLine.horizontalSpan = 3;		grpMarkerLine.setLayoutData( gdGRPMarkerLine );		grpMarkerLine.setLayout( new FillLayout( ) );		grpMarkerLine.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerLineAttributes" ) ); //$NON-NLS-1$		liacMarkerLine = new LineAttributesComposite( grpMarkerLine,				SWT.NONE,				getContext( ),				null,				true,				true,				true );		liacMarkerLine.addListener( this );		btnLineTriggers = new Button( cmpLine, SWT.PUSH );		{			GridData gd = new GridData( );			gd.horizontalSpan = 2;			btnLineTriggers.setLayoutData( gd );			btnLineTriggers.setText( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$			btnLineTriggers.addSelectionListener( this );		}		// 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 );		lblRangeLabel = new Label( cmpRange, SWT.NONE );		{			GridData gd = new GridData( );			gd.horizontalIndent = 5;			gd.widthHint = 38;			lblRangeLabel.setLayoutData( gd );			lblRangeLabel.setText( Messages.getString( "AxisMarkersSheet.Label.Label" ) ); //$NON-NLS-1$		}		txtRangeEText = new ExternalizedTextEditorComposite( cmpRange,				SWT.BORDER | SWT.SINGLE,				-1,				-1,				getContext( ).getUIServiceProvider( ).getRegisteredKeys( ),				getContext( ).getUIServiceProvider( ),				"" ); //$NON-NLS-1$		{			GridData gd = new GridData( GridData.FILL_HORIZONTAL );			gd.horizontalSpan = 2;			txtRangeEText.setLayoutData( gd );			txtRangeEText.addListener( this );		}		// 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, true );		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, true );		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( ) );		lblRangeAnchor = new Label( cmpRange, SWT.NONE );		GridData gdLBLRangeAnchor = new GridData( );		gdLBLRangeAnchor.horizontalIndent = 5;		gdLBLRangeAnchor.widthHint = 54;		lblRangeAnchor.setLayoutData( gdLBLRangeAnchor );		lblRangeAnchor.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Anchor" ) ); //$NON-NLS-1$		cmbRangeAnchor = new Combo( cmpRange, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBRangeAnchor = new GridData( GridData.FILL_HORIZONTAL );		gdCMBRangeAnchor.horizontalSpan = 2;		cmbRangeAnchor.setLayoutData( gdCMBRangeAnchor );		cmbRangeAnchor.addSelectionListener( this );		lblRangeFill = new Label( cmpRange, SWT.NONE );		GridData gdLBLRangeFill = new GridData( );		gdLBLRangeFill.horizontalIndent = 5;		gdLBLRangeFill.widthHint = 54;		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 );		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,				getContext( ),				null,				true,				true,				true );		liacMarkerRange.addListener( this );		btnRangeTriggers = new Button( cmpRange, SWT.PUSH );		{			GridData gd = new GridData( );			gd.horizontalSpan = 2;			btnRangeTriggers.setLayoutData( gd );			btnRangeTriggers.setText( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$			btnRangeTriggers.addSelectionListener( this );		}		lacLabel = new LabelAttributesComposite( cmpContent,				SWT.NONE,				Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerLabelProperties" ), //$NON-NLS-1$				Position.ABOVE_LITERAL,				LabelImpl.create( ),				getChart( ).getUnits( ),				false,				true,				getContext( ),				true );		GridData gdLACLabel = new GridData( GridData.VERTICAL_ALIGN_BEGINNING				| GridData.FILL_HORIZONTAL );		lacLabel.setLayoutData( gdLACLabel );		lacLabel.addListener( this );		slMarkers.topControl = cmpLine;		populateLists( );		refreshButtons( );		setAllEnabled( !getAxisForProcessing( ).isCategoryAxis( )				|| getAxisForProcessing( ).getType( )						.equals( AxisType.TEXT_LITERAL ) );		return cmpContent;	}