Label lblShadow = new Label( grpTxtArea, SWT.NONE ); GridData gdLBLShadow = new GridData( ); lblShadow.setLayoutData( gdLBLShadow ); lblShadow.setText( Messages.getString( "ClientAreaAttributeComposite.Lbl.Shadow" ) );  fccShadow = new FillChooserComposite( grpTxtArea, SWT.NONE, getLegend( ).getClientArea( ).getShadowColor( ), false, false ); GridData gdFCCShadow = new GridData( GridData.FILL_HORIZONTAL ); fccShadow.setLayoutData( gdFCCShadow ); fccShadow.setEnabled( getLegend( ).isVisible( ) ); fccShadow.addListener( this );  Group grpOutline = new Group( grpTxtArea, SWT.NONE ); GridData gdGRPOutline = new GridData( GridData.FILL_HORIZONTAL ); gdGRPOutline.horizontalSpan = 2; grpOutline.setLayoutData( gdGRPOutline ); grpOutline.setLayout( new FillLayout( ) ); grpOutline.setText( Messages.getString( "MoreOptionsChartLegendSheet.Label.Outline" ) );  outlineText = new LineAttributesComposite( grpOutline, SWT.NONE, getLegend( ).getClientArea( ).getOutline( ), true, true, true ); outlineText.addListener( this );  icText = new InsetsComposite( grpTxtArea, SWT.NONE, getLegend( ).getClientArea( ).getInsets( ), chart.getUnits( ), serviceprovider ); GridData gdInsets = new GridData( GridData.FILL_HORIZONTAL ); gdInsets.horizontalSpan = 2; icText.setLayoutData( gdInsets ); icText.addListener( this );
	protected Composite getComponent( Composite parent )	{		cmpContent = new Composite( parent, SWT.NONE );		{			GridLayout glMain = new GridLayout( );			glMain.horizontalSpacing = 5;			glMain.verticalSpacing = 5;			glMain.marginHeight = 7;			glMain.marginWidth = 7;			cmpContent.setLayout( glMain );		}		lacTitle = new LabelAttributesComposite( cmpContent,				SWT.NONE,				Messages.getString( "BaseAxisLabelAttributeSheetImpl.Lbl.Title" ),//$NON-NLS-1$				getLegend( ).getTitlePosition( ),				getLegend( ).getTitle( ),				chart.getUnits( ),				true,				false,				serviceprovider,				LabelAttributesComposite.ALLOW_ALL_POSITION );		{			GridData gdLACTitle = new GridData( GridData.FILL_HORIZONTAL );			gdLACTitle.widthHint = 200;			lacTitle.setLayoutData( gdLACTitle );			lacTitle.addListener( this );			lacTitle.setEnabled( getLegend( ).getTitle( ).isVisible( ) );		}		Group grpLabel = new Group( cmpContent, SWT.NONE );		{			GridLayout layout = new GridLayout( 2, false );			grpLabel.setLayout( layout );			grpLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );			grpLabel.setText( "Text" ); //$NON-NLS-1$		}		new Label( grpLabel, SWT.NONE ).setText( Messages.getString( "LegendTextSheet.Label.Font" ) ); //$NON-NLS-1$		fdcFont = new FontDefinitionComposite( grpLabel,				SWT.NONE,				getLegend( ).getText( ).getFont( ),				getLegend( ).getText( ).getColor( ) );		GridData gdFDCFont = new GridData( GridData.FILL_BOTH );		gdFDCFont.heightHint = fdcFont.getPreferredSize( ).y;		gdFDCFont.grabExcessVerticalSpace = false;		fdcFont.setLayoutData( gdFDCFont );		fdcFont.addListener( this );		return cmpContent;	}