txtWrapping.setText( String.valueOf( getBlockForProcessing( ).getWrappingSize( ) ) ); txtWrapping.addListener( this );
txtWrapping.setValue( getBlockForProcessing( ).getWrappingSize( ) ); txtWrapping.addModifyListener( this );
	private void getComponentLegendLeftArea( Composite cmpLegLeft )	{		btnVisible = new Button( cmpLegLeft, SWT.CHECK );		GridData gdBTNVisible = new GridData( );		gdBTNVisible.horizontalSpan = 2;		btnVisible.setLayoutData( gdBTNVisible );		btnVisible.setText( Messages.getString( "MoreOptionsChartLegendSheet.Label.Visible" ) );//$NON-NLS-1$		btnVisible.setSelection( bEnableUI );		btnVisible.addSelectionListener( this );		lblOrientation = new Label( cmpLegLeft, SWT.NONE );		lblOrientation.setText( Messages.getString( "BlockAttributeComposite.Lbl.Orientation" ) ); //$NON-NLS-1$		cmbOrientation = new Combo( cmpLegLeft, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBOrientation = new GridData( GridData.FILL_HORIZONTAL );		cmbOrientation.setLayoutData( gdCMBOrientation );		cmbOrientation.addSelectionListener( this );		cmbOrientation.setEnabled( bEnableUI );		lblPosition = new Label( cmpLegLeft, SWT.NONE );		lblPosition.setText( Messages.getString( "BlockAttributeComposite.Lbl.Position" ) ); //$NON-NLS-1$		lblPosition.setEnabled( bEnableUI );		cmbPosition = new Combo( cmpLegLeft, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBPosition = new GridData( GridData.FILL_HORIZONTAL );		cmbPosition.setLayoutData( gdCMBPosition );		cmbPosition.addSelectionListener( this );		cmbPosition.setEnabled( bEnableUI );		lblAnchor = new Label( cmpLegLeft, SWT.NONE );		lblAnchor.setText( Messages.getString( "BlockAttributeComposite.Lbl.Anchor" ) ); //$NON-NLS-1$		lblAnchor.setEnabled( bEnableUI );		cmbAnchor = new Combo( cmpLegLeft, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCBAnchor = new GridData( GridData.FILL_HORIZONTAL );		cmbAnchor.setLayoutData( gdCBAnchor );		cmbAnchor.addSelectionListener( this );		cmbAnchor.setEnabled( bEnableUI );		lblStretch = new Label( cmpLegLeft, SWT.NONE );		lblStretch.setText( Messages.getString( "BlockAttributeComposite.Lbl.Stretch" ) ); //$NON-NLS-1$		lblStretch.setEnabled( bEnableUI );		cmbStretch = new Combo( cmpLegLeft, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCBStretch = new GridData( GridData.FILL_HORIZONTAL );		cmbStretch.setLayoutData( gdCBStretch );		cmbStretch.addSelectionListener( this );		cmbStretch.setEnabled( bEnableUI );		lblBackground = new Label( cmpLegLeft, SWT.NONE );		lblBackground.setText( Messages.getString( "BlockAttributeComposite.Lbl.Background" ) ); //$NON-NLS-1$		lblBackground.setEnabled( bEnableUI );		fccBackground = new FillChooserComposite( cmpLegLeft,				SWT.NONE,				getContext( ),				getBlockForProcessing( ).getBackground( ),				true,				true );		GridData gdFCCBackground = new GridData( GridData.FILL_HORIZONTAL );		fccBackground.setLayoutData( gdFCCBackground );		fccBackground.addListener( this );		fccBackground.setEnabled( bEnableUI );		lblDirection = new Label( cmpLegLeft, SWT.NONE );		lblDirection.setText( Messages.getString( "BlockAttributeComposite.Lbl.Direction" ) ); //$NON-NLS-1$		lblDirection.setEnabled( bEnableUI );		cmbDirection = new Combo( cmpLegLeft, SWT.DROP_DOWN | SWT.READ_ONLY );		GridData gdCMBDirection = new GridData( GridData.FILL_HORIZONTAL );		cmbDirection.setLayoutData( gdCMBDirection );		cmbDirection.addSelectionListener( this );		cmbDirection.setEnabled( bEnableUI );		lblWrapping = new Label( cmpLegLeft, SWT.NONE );		lblWrapping.setText( Messages.getString( "LegendLayoutSheet.Label.WrappingWidth" ) ); //$NON-NLS-1$		lblWrapping.setEnabled( bEnableUI );		txtWrapping = new TextEditorComposite( cmpLegLeft, SWT.BORDER				| SWT.SINGLE, true );		{			GridData gd = new GridData( GridData.FILL_HORIZONTAL );			txtWrapping.setLayoutData( gd );			txtWrapping.setText( String.valueOf( getBlockForProcessing( ).getWrappingSize( ) ) );			txtWrapping.addListener( this );		}		// lblVerticalSpacing = new Label( cmpLegLeft, SWT.NONE );		// lblVerticalSpacing.setText( Messages.getString(		// "BlockAttributeComposite.Lbl.VerticalSpacing" ) ); //$NON-NLS-1$		//		// iscVSpacing = new IntegerSpinControl( cmpLegLeft,		// SWT.NONE,		// getBlockForProcessing( ).getVerticalSpacing( ) );		// GridData gdISCVSpacing = new GridData( GridData.FILL_HORIZONTAL );		// iscVSpacing.setLayoutData( gdISCVSpacing );		// iscVSpacing.addListener( this );		//		// lblHorizontalSpacing = new Label( cmpLegLeft, SWT.NONE );		// lblHorizontalSpacing.setText( Messages.getString(		// "BlockAttributeComposite.Lbl.HorizontalSpacing" ) ); //$NON-NLS-1$		//		// iscHSpacing = new IntegerSpinControl( cmpLegLeft,		// SWT.NONE,		// getBlockForProcessing( ).getHorizontalSpacing( ) );		// GridData gdISCHSpacing = new GridData( GridData.FILL_HORIZONTAL );		// iscHSpacing.setLayoutData( gdISCHSpacing );		// iscHSpacing.addListener( this );	}