diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ComponentDetailsPage.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ComponentDetailsPage.java | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ComponentDetailsPage.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ComponentDetailsPage.java deleted file mode 100644 index 9a882d542..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/page/detail/ComponentDetailsPage.java +++ /dev/null @@ -1,68 +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.ComponentGeneralSection; -import org.eclipse.jst.jsf.facesconfig.ui.section.FacetSection; -import org.eclipse.jst.jsf.facesconfig.ui.section.IFacesConfigSection; -import org.eclipse.jst.jsf.facesconfig.ui.section.PropertySection; -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 sfshi - * - */ -public class ComponentDetailsPage extends FacesConfigDetailsPage { - - /** - * - * @param page - */ - public ComponentDetailsPage(FacesConfigMasterDetailPage page) { - super(page); - } - - /** - * create the detail sections and set layout for them. - */ - protected IFacesConfigSection[] createDetailSections(Composite composite, - IManagedForm managedForm, FormToolkit toolkit, FacesConfigMasterDetailPage page) { - ComponentGeneralSection generalSection = new ComponentGeneralSection( - 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); - - FacetSection facetSection = new FacetSection(composite, managedForm, - getPage(), toolkit); - gd = new GridData(GridData.FILL_HORIZONTAL); - facetSection.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, facetSection, - propertySection }; - } - -} |