diff options
Diffstat (limited to 'plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebFacetInstallPage.java')
-rw-r--r-- | plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebFacetInstallPage.java | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebFacetInstallPage.java b/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebFacetInstallPage.java deleted file mode 100644 index 6d9f28cad..000000000 --- a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebFacetInstallPage.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.eclipse.wst.web.ui.internal.wizards; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Text; -import org.eclipse.wst.project.facet.ISimpleWebFacetInstallDataModelProperties; -import org.eclipse.wst.web.internal.ResourceHandler; - -public class SimpleWebFacetInstallPage extends DataModelFacetInstallPage implements ISimpleWebFacetInstallDataModelProperties { - - private Label configFolderLabel; - private Text configFolder; - private Label contextRootLabel; - private Text contextRoot; - - public SimpleWebFacetInstallPage() { - super("simpleweb.facet.install.page"); //$NON-NLS-1$ - setTitle(ResourceHandler.StaticWebProjectWizardBasePage_Page_Title); - setDescription(ResourceHandler.ConfigureSettings); - } - - protected String[] getValidationPropertyNames() { - return new String[]{CONTENT_DIR}; - } - - protected Composite createTopLevelComposite(Composite parent) { - setInfopopID(IWstWebUIContextIds.NEW_STATIC_WEB_PROJECT_PAGE3); - final Composite composite = new Composite(parent, SWT.NONE); - composite.setLayout(new GridLayout(1, false)); - - this.contextRootLabel = new Label(composite, SWT.NONE); - this.contextRootLabel.setText(ResourceHandler.StaticContextRootComposite_Context_Root_Label); - this.contextRootLabel.setLayoutData(gdhfill()); - - this.contextRoot = new Text(composite, SWT.BORDER); - this.contextRoot.setLayoutData(gdhfill()); - this.contextRoot.setData("label", this.contextRootLabel); //$NON-NLS-1$ - synchHelper.synchText(contextRoot, CONTEXT_ROOT, new Control[]{contextRootLabel}); - - configFolderLabel = new Label(composite, SWT.NONE); - configFolderLabel.setText(ResourceHandler.StaticWebSettingsPropertiesPage_Web_Content_Label); - configFolderLabel.setLayoutData(gdhfill()); - - configFolder = new Text(composite, SWT.BORDER); - configFolder.setLayoutData(gdhfill()); - configFolder.setData("label", configFolderLabel); //$NON-NLS-1$ - synchHelper.synchText(configFolder, CONTENT_DIR, null); - - return composite; - } - -} |