cmbColor = new FillChooserComposite(cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY, this.laCurrent.getColor(), false, false); GridData gdCBColor = new GridData(GridData.FILL_HORIZONTAL);
cmbColor = new FillChooserComposite( cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY, wizardContext, this.laCurrent.getColor( ), false, false ); GridData gdCBColor = new GridData( GridData.FILL_HORIZONTAL );
	private void placeComponents() {		FillLayout flMain = new FillLayout();		flMain.marginHeight = 0;		flMain.marginWidth = 0;		GridLayout glContent = new GridLayout();		glContent.verticalSpacing = 5;		glContent.horizontalSpacing = 5;		glContent.marginHeight = 4;		glContent.marginWidth = 4;		glContent.numColumns = 6;		this.setLayout(flMain);		cmpContent = new Composite(this, SWT.NONE);		cmpContent.setLayout(glContent);		bEnabled = laCurrent.isVisible();		boolean bEnableUI = bEnabled;		if (bEnableVisibility) {			cbVisible = new Button(cmpContent, SWT.CHECK);			GridData gdCBVisible = new GridData(GridData.FILL_HORIZONTAL);			gdCBVisible.horizontalSpan = 6;			cbVisible.setLayoutData(gdCBVisible);			cbVisible.setText(Messages					.getString("LineAttributesComposite.Lbl.IsVisible")); //$NON-NLS-1$			cbVisible.setSelection(laCurrent.isVisible());			cbVisible.addSelectionListener(this);			if (bEnabled) {				bEnableUI = cbVisible.getSelection();			}		}		if (bEnableStyles) {			lblStyle = new Label(cmpContent, SWT.NONE);			GridData gdLStyle = new GridData(					GridData.HORIZONTAL_ALIGN_BEGINNING);			lblStyle.setLayoutData(gdLStyle);			lblStyle.setText(Messages					.getString("LineAttributesComposite.Lbl.Style")); //$NON-NLS-1$			lblStyle.setEnabled(bEnableUI);			cmbStyle = new LineStyleChooserComposite(cmpContent, SWT.DROP_DOWN					| SWT.READ_ONLY, getSWTLineStyle(laCurrent.getStyle()));			GridData gdCBStyle = new GridData(GridData.FILL_HORIZONTAL);			gdCBStyle.horizontalSpan = 5;			cmbStyle.setLayoutData(gdCBStyle);			cmbStyle.addListener(this);			cmbStyle.setEnabled(bEnableUI);		}		if (bEnableWidths) {			lblWidth = new Label(cmpContent, SWT.NONE);			GridData gdLWidth = new GridData(					GridData.HORIZONTAL_ALIGN_BEGINNING);			lblWidth.setLayoutData(gdLWidth);			lblWidth.setText(Messages					.getString("LineAttributesComposite.Lbl.Width")); //$NON-NLS-1$			lblWidth.setEnabled(bEnableUI);			cmbWidth = new LineWidthChooserComposite(cmpContent, SWT.DROP_DOWN					| SWT.READ_ONLY, laCurrent.getThickness());			GridData gdCBWidth = new GridData(GridData.FILL_HORIZONTAL);			gdCBWidth.horizontalSpan = 5;			cmbWidth.setLayoutData(gdCBWidth);			cmbWidth.addListener(this);			cmbWidth.setEnabled(bEnableUI);		}		if (bEnableColor) {			lblColor = new Label(cmpContent, SWT.NONE);			GridData gdLColor = new GridData(					GridData.HORIZONTAL_ALIGN_BEGINNING);			lblColor.setLayoutData(gdLColor);			lblColor.setText(Messages					.getString("LineAttributesComposite.Lbl.Color")); //$NON-NLS-1$			lblColor.setEnabled(bEnableUI);			cmbColor = new FillChooserComposite(cmpContent, SWT.DROP_DOWN					| SWT.READ_ONLY, this.laCurrent.getColor(), false, false);			GridData gdCBColor = new GridData(GridData.FILL_HORIZONTAL);			gdCBColor.horizontalSpan = 5;			cmbColor.setLayoutData(gdCBColor);			cmbColor.addListener(this);			cmbColor.setEnabled(bEnableUI);		}	}