X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/FormElementWizardPage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/FormElementWizardPage.java index a355959..d9ab7e7 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/FormElementWizardPage.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/FormElementWizardPage.java @@ -1,12 +1,15 @@ /* - * $Id: FormElementWizardPage.java,v 1.1 2004-10-05 20:51:57 jsurfer Exp $ + * $Id: FormElementWizardPage.java,v 1.3 2006-10-21 23:18:43 pombredanne Exp $ * Copyright Narushima Hironori. All rights reserved. */ package net.sourceforge.phpeclipse.wizards.html; import org.eclipse.core.runtime.CoreException; import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.*; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Combo; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Text; /** * @@ -14,7 +17,9 @@ import org.eclipse.swt.widgets.*; public class FormElementWizardPage extends EditElementWizardPage { Text actionText; + Button postRadio, getRadio, multipartCheck; + Combo charsetCombo; public FormElementWizardPage() { @@ -23,38 +28,38 @@ public class FormElementWizardPage extends EditElementWizardPage { protected void createChildControl(Composite parent) throws CoreException { postRadio = new Button(parent, SWT.RADIO); - + } public String getPreviewText() { boolean controlCreated = actionText != null; - + StringBuffer buff = new StringBuffer("
\n"); - buff.append( getSelectionText() ); + buff.append(getSelectionText()); buff.append("\n
\n"); - + return buff.toString(); }