| /******************************************************************************* |
| * Copyright (c) 2009 Oracle. 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: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.eclipselink.ui.internal.v2_0.details.orm; |
| |
| import org.eclipse.jpt.core.context.orm.EntityMappings; |
| import org.eclipse.jpt.eclipselink.ui.internal.details.orm.AbstractEclipseLinkEntityMappingsDetailsPage; |
| import org.eclipse.jpt.ui.WidgetFactory; |
| import org.eclipse.jpt.ui.internal.details.db.CatalogCombo; |
| import org.eclipse.jpt.ui.internal.details.db.SchemaCombo; |
| import org.eclipse.jpt.ui.internal.details.orm.EntityMappingsGeneratorsComposite; |
| import org.eclipse.jpt.ui.internal.details.orm.OrmPackageChooser; |
| import org.eclipse.jpt.ui.internal.details.orm.OrmQueriesComposite; |
| import org.eclipse.jpt.ui.internal.details.orm.PersistenceUnitMetadataComposite; |
| import org.eclipse.jpt.ui.internal.jpa2.details.orm.EntityMappingsGenerators2_0Composite; |
| import org.eclipse.jpt.ui.internal.widgets.EnumFormComboViewer; |
| import org.eclipse.swt.widgets.Composite; |
| |
| /** |
| * Here the layout of this pane: |
| * <pre> |
| * ----------------------------------------------------------------------------- |
| * | ------------------------------------------------------------------------- | |
| * | | | | |
| * | | XmlPackageChooser | | |
| * | | | | |
| * | ------------------------------------------------------------------------- | |
| * | ------------------------------------------------------------ | |
| * | Schema: | SchemaCombo | | |
| * | ------------------------------------------------------------ | |
| * | ------------------------------------------------------------ | |
| * | Catalog: | CatalogCombo | | |
| * | ------------------------------------------------------------ | |
| * | ------------------------------------------------------------ | |
| * | Access Type: | |v| | |
| * | ------------------------------------------------------------ | |
| * | | |
| * | ------------------------------------------------------------------------- | |
| * | | | | |
| * | | PersistenceUnitMetadataComposite | | |
| * | | | | |
| * | ------------------------------------------------------------------------- | |
| * | ------------------------------------------------------------------------- | |
| * | | | | |
| * | | OrmGeneratorsComposite | | |
| * | | | | |
| * | ------------------------------------------------------------------------- | |
| * | ------------------------------------------------------------------------- | |
| * | | | | |
| * | | OrmQueriesComposite | | |
| * | | | | |
| * | ------------------------------------------------------------------------- | |
| * | ------------------------------------------------------------------------- | |
| * | | | | |
| * | | ConvertersComposite | | |
| * | | | | |
| * | ------------------------------------------------------------------------- | |
| * -----------------------------------------------------------------------------</pre> |
| * |
| * @see EntityMappings |
| * @see EclipseLinkEntityMappings2_0DetailsPage - The parent container |
| * @see CatalogCombo |
| * @see EnumFormComboViewer |
| * @see EntityMappingsGeneratorsComposite |
| * @see OrmPackageChooser |
| * @see OrmQueriesComposite |
| * @see PersistenceUnitMetadataComposite |
| * @see SchemaCombo |
| * |
| * @version 2.2 |
| * @since 2.1 |
| */ |
| public class EclipseLinkEntityMappings2_0DetailsPage extends AbstractEclipseLinkEntityMappingsDetailsPage |
| { |
| /** |
| * Creates a new <code>EclipseLinkEntityMappingsDetailsPage</code>. |
| * |
| * @param parent The parent container |
| * @param widgetFactory The factory used to create various common widgets |
| */ |
| public EclipseLinkEntityMappings2_0DetailsPage(Composite parent, |
| WidgetFactory widgetFactory) { |
| |
| super(parent, widgetFactory); |
| } |
| |
| @Override |
| protected void buildEntityMappingsGeneratorsComposite(Composite container) { |
| new EntityMappingsGenerators2_0Composite( |
| this, |
| container |
| ); |
| } |
| |
| } |