	public void createSection(Composite parent)
	{
		super.createSection(parent);
		FormToolkit toolkit = new FormToolkit(parent.getDisplay());
		Section section = toolkit.createSection(parent, ExpandableComposite.TWISTIE|ExpandableComposite.EXPANDED|ExpandableComposite.TITLE_BAR);
		section.setText(Messages.swf_DeployEditorHeading);
		section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));
		Composite composite = toolkit.createComposite(section);
		composite.setLayout(new FormLayout());
		Label descriptionLabel = toolkit.createLabel(composite, Messages.swf_DeploymentDescription);
		Label label = toolkit.createLabel(composite, Messages.swf_DeployDirectory);
		final Text text = toolkit.createText(composite, getDeployDir(), SWT.BORDER);
		text.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent e) {
				execute(new SetDeployDirCommand(server, text, text.getText()));
			}
		});
		Button button = toolkit.createButton(composite, Messages.browse, SWT.PUSH);
		button.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				DirectoryDialog d = new DirectoryDialog(new Shell());
				d.setFilterPath(text.getText());
				String x = d.open();
				if( x != null ) 
					text.setText(x);
			} 
		});
		Label tempDeployLabel = toolkit.createLabel(composite, Messages.swf_TempDeployDirectory);
		final Text tempDeployText = toolkit.createText(composite, getTempDeployDir(), SWT.BORDER);
		tempDeployText.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent e) {
				execute(new SetTempDeployDirCommand(server, tempDeployText, tempDeployText.getText()));
			}
		});
		Button tempDeployButton = toolkit.createButton(composite, Messages.browse, SWT.PUSH);
		tempDeployButton.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				DirectoryDialog d = new DirectoryDialog(new Shell());
				d.setFilterPath(tempDeployText.getText());
				String x = d.open();
				if( x != null ) 
					tempDeployText.setText(x);
			} 
		});
		FormData descriptionLabelData = new FormData();
		descriptionLabelData.left = new FormAttachment(0,5);
		descriptionLabelData.top = new FormAttachment(0,5);
		descriptionLabel.setLayoutData(descriptionLabelData);
		FormData labelData = new FormData();
		labelData.left = new FormAttachment(0,5);
		labelData.top = new FormAttachment(descriptionLabel,5);
		label.setLayoutData(labelData);
		FormData textData = new FormData();
		textData.left = new FormAttachment(label, 5);
		textData.top = new FormAttachment(descriptionLabel,5);
		textData.right = new FormAttachment(0,300);
		text.setLayoutData(textData);
		FormData buttonData = new FormData();
		buttonData.right = new FormAttachment(100,-5);
		buttonData.top = new FormAttachment(descriptionLabel,5);
		button.setLayoutData(buttonData);
		FormData tempLabelData = new FormData();
		tempLabelData.left = new FormAttachment(0,5);
		tempLabelData.top = new FormAttachment(text,5);
		tempDeployLabel.setLayoutData(tempLabelData);
		FormData tempTextData = new FormData();
		tempTextData.left = new FormAttachment(tempDeployLabel, 5);
		tempTextData.top = new FormAttachment(text,5);
		tempTextData.right = new FormAttachment(0, 300);
		tempDeployText.setLayoutData(tempTextData);
		FormData tempButtonData = new FormData();
		tempButtonData.right = new FormAttachment(100,-5);
		tempButtonData.top = new FormAttachment(text,5);
		tempDeployButton.setLayoutData(tempButtonData);
		text.setEditable(false);
		tempDeployText.setEditable(false);
		toolkit.paintBordersFor(composite);
		section.setClient(composite);
	}

	public void createSection(Composite parent)
	{
		super.createSection(parent);
		FormToolkit toolkit = new FormToolkit(parent.getDisplay());
		Section section = toolkit.createSection(parent, ExpandableComposite.TWISTIE|ExpandableComposite.EXPANDED|ExpandableComposite.TITLE_BAR);
		section.setText(Messages.swf_DeployEditorHeading);
		section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));
		Composite composite = toolkit.createComposite(section);
		composite.setLayout(new FormLayout());
		Label descriptionLabel = toolkit.createLabel(composite, Messages.swf_DeploymentDescription);
		Label label = toolkit.createLabel(composite, Messages.swf_DeployDirectory);
		final Text text = toolkit.createText(composite, getDeployDir(), SWT.BORDER);
		text.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent e) {
				execute(new SetDeployDirCommand(server, text, text.getText()));
			}
		});
		Button button = toolkit.createButton(composite, Messages.browse, SWT.PUSH);
		button.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				DirectoryDialog d = new DirectoryDialog(new Shell());
				d.setFilterPath(text.getText());
				String x = d.open();
				if( x != null ) 
					text.setText(x);
			} 
		});
		Label tempDeployLabel = toolkit.createLabel(composite, Messages.swf_TempDeployDirectory);
		final Text tempDeployText = toolkit.createText(composite, getTempDeployDir(), SWT.BORDER);
		tempDeployText.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent e) {
				execute(new SetTempDeployDirCommand(server, tempDeployText, tempDeployText.getText()));
			}
		});
		Button tempDeployButton = toolkit.createButton(composite, Messages.browse, SWT.PUSH);
		tempDeployButton.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				DirectoryDialog d = new DirectoryDialog(new Shell());
				d.setFilterPath(tempDeployText.getText());
				String x = d.open();
				if( x != null ) 
					tempDeployText.setText(x);
			} 
		});
		FormData descriptionLabelData = new FormData();
		descriptionLabelData.left = new FormAttachment(0,5);
		descriptionLabelData.top = new FormAttachment(0,5);
		descriptionLabel.setLayoutData(descriptionLabelData);
		FormData labelData = new FormData();
		labelData.left = new FormAttachment(0,5);
		labelData.top = new FormAttachment(descriptionLabel,5);
		label.setLayoutData(labelData);
		FormData textData = new FormData();
		textData.left = new FormAttachment(label, 5);
		textData.top = new FormAttachment(descriptionLabel,5);
		textData.right = new FormAttachment(0,300);
		text.setLayoutData(textData);
		FormData buttonData = new FormData();
		buttonData.right = new FormAttachment(100,-5);
		buttonData.left = new FormAttachment(text, 5);
		buttonData.top = new FormAttachment(descriptionLabel,5);
		button.setLayoutData(buttonData);
		FormData tempLabelData = new FormData();
		tempLabelData.left = new FormAttachment(0,5);
		tempLabelData.top = new FormAttachment(text,5);
		tempDeployLabel.setLayoutData(tempLabelData);
		FormData tempTextData = new FormData();
		tempTextData.left = new FormAttachment(tempDeployLabel, 5);
		tempTextData.top = new FormAttachment(text,5);
		tempTextData.right = new FormAttachment(0, 300);
		tempDeployText.setLayoutData(tempTextData);
		FormData tempButtonData = new FormData();
		tempButtonData.right = new FormAttachment(100,-5);
		tempButtonData.left = new FormAttachment(tempDeployText,5);
		tempButtonData.top = new FormAttachment(text,5);
		tempDeployButton.setLayoutData(tempButtonData);
		text.setEditable(false);
		tempDeployText.setEditable(false);
		toolkit.paintBordersFor(composite);
		section.setClient(composite);
	}
