diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ValidatorDetailsPage.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ValidatorDetailsPage.java | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ValidatorDetailsPage.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ValidatorDetailsPage.java deleted file mode 100644 index a2385781a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ValidatorDetailsPage.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2005 Sybase, Inc. and others. - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Sybase, Inc. - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.jsf.facesconfig.ui.page.detail; - -import org.eclipse.jst.jsf.facesconfig.ui.page.FacesConfigMasterDetailPage; -import org.eclipse.jst.jsf.facesconfig.ui.section.AttributeSection; -import org.eclipse.jst.jsf.facesconfig.ui.section.IFacesConfigSection; -import org.eclipse.jst.jsf.facesconfig.ui.section.PropertySection; -import org.eclipse.jst.jsf.facesconfig.ui.section.ValidatorGeneralSection; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.ui.forms.IManagedForm; -import org.eclipse.ui.forms.widgets.FormToolkit; - -/** - * @author Bryan Yang - * - */ -public class ValidatorDetailsPage extends FacesConfigDetailsPage { - - /** - * - * @param page - */ - public ValidatorDetailsPage(FacesConfigMasterDetailPage page) { - super(page); - } - - /** - * create the detail sections and set layout for them. - */ - protected IFacesConfigSection[] createDetailSections(Composite composite, - IManagedForm managedForm, FormToolkit toolkit, FacesConfigMasterDetailPage page) { - ValidatorGeneralSection generalSection = new ValidatorGeneralSection( - composite, managedForm, getPage(), toolkit); - GridData gd = new GridData(GridData.FILL_HORIZONTAL); - generalSection.getSection().setLayoutData(gd); - - AttributeSection attributeSection = new AttributeSection(composite, - managedForm, getPage(), toolkit); - gd = new GridData(GridData.FILL_HORIZONTAL); - attributeSection.getSection().setLayoutData(gd); - - PropertySection propertySection = new PropertySection(composite, - managedForm, getPage(), toolkit); - gd = new GridData(GridData.FILL_BOTH); - propertySection.getSection().setLayoutData(gd); - return new IFacesConfigSection[] { generalSection, attributeSection, - propertySection }; - } - -} |