| /******************************************************************************* |
| * Copyright (c) 2007, 2010 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.ui.internal.details; |
| |
| import org.eclipse.jpt.core.context.EmbeddedIdMapping; |
| import org.eclipse.jpt.ui.WidgetFactory; |
| import org.eclipse.jpt.utility.model.value.PropertyValueModel; |
| import org.eclipse.swt.widgets.Composite; |
| |
| public class EmbeddedIdMappingComposite |
| extends AbstractEmbeddedIdMappingComposite<EmbeddedIdMapping> |
| { |
| public EmbeddedIdMappingComposite( |
| PropertyValueModel<? extends EmbeddedIdMapping> subjectHolder, |
| Composite parent, |
| WidgetFactory widgetFactory) { |
| |
| super(subjectHolder, parent, widgetFactory); |
| } |
| |
| |
| @Override |
| protected void initializeEmbeddedIdSection(Composite container) { |
| new EmbeddedMappingOverridesComposite( |
| this, |
| container); |
| } |
| } |