	protected Composite createHeaderControls(Composite composite, FormToolkit toolkit) {
		headerComposite = toolkit.createComposite(composite);
		GridLayout layout = new GridLayout(1, false);
		layout.verticalSpacing = 1;
		layout.marginHeight = 1;
		layout.marginWidth = 0;
		layout.marginBottom = 10;
		headerComposite.setLayout(layout);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Status, 0);
		statusCombo = new CCombo(headerComposite, SWT.FLAT | SWT.READ_ONLY);
		toolkit.adapt(statusCombo, true, true);
		statusCombo.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
		statusCombo.add(Messages.TaskPlanningEditor_Complete);
		statusCombo.add(Messages.TaskPlanningEditor_Incomplete);
		if (getTask().isCompleted()) {
			statusCombo.select(0);
		} else {
			statusCombo.select(1);
		}
		statusCombo.setEnabled(getTask() instanceof LocalTask);
		statusCombo.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
				markDirty();
			}
		});
		Composite spacer = toolkit.createComposite(headerComposite, SWT.NONE);
		GridDataFactory.fillDefaults().hint(0, 10).grab(true, false).applyTo(spacer);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Created, 0);
		creationDateText = toolkit.createText(headerComposite, getDateString(getTask().getCreationDate()), SWT.FLAT
				| SWT.READ_ONLY);
		creationDateText.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Completed, EditorUtil.HEADER_COLUMN_MARGIN);
		completionDateText = toolkit.createText(headerComposite, getDateString(getTask().getCompletionDate()), SWT.FLAT
				| SWT.READ_ONLY);
		completionDateText.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);
		layout.numColumns = headerComposite.getChildren().length;
		toolkit.paintBordersFor(headerComposite);
		return headerComposite;
	}

	protected Composite createHeaderControls(Composite composite, FormToolkit toolkit) {
		headerComposite = toolkit.createComposite(composite);
		GridLayout layout = new GridLayout(1, false);
		layout.verticalSpacing = 1;
		layout.marginHeight = 1;
		layout.marginWidth = 0;
		layout.marginBottom = 10;
		headerComposite.setLayout(layout);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Status, 0);
		statusCombo = new CCombo(headerComposite, SWT.FLAT | SWT.READ_ONLY);
		toolkit.adapt(statusCombo, true, true);
		statusCombo.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
		statusCombo.add(Messages.TaskPlanningEditor_Complete);
		statusCombo.add(Messages.TaskPlanningEditor_Incomplete);
		if (getTask().isCompleted()) {
			statusCombo.select(0);
		} else {
			statusCombo.select(1);
		}
		statusCombo.setEnabled(getTask() instanceof LocalTask);
		statusCombo.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
				markDirty();
			}
		});
		Composite spacer = toolkit.createComposite(headerComposite, SWT.NONE);
		GridDataFactory.fillDefaults().hint(0, 10).grab(true, false).applyTo(spacer);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Created, 0);
		creationDateText = new Text(headerComposite, SWT.FLAT | SWT.READ_ONLY);
		toolkit.adapt(creationDateText, false, false);
		creationDateText.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);
		createLabel(headerComposite, toolkit, Messages.TaskPlanningEditor_Completed, EditorUtil.HEADER_COLUMN_MARGIN);
		completionDateText = new Text(headerComposite, SWT.FLAT | SWT.READ_ONLY);
		toolkit.adapt(completionDateText, false, false);
		completionDateText.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);
		layout.numColumns = headerComposite.getChildren().length;
		toolkit.paintBordersFor(headerComposite);
		return headerComposite;
	}
