| /******************************************************************************* |
| * Copyright (c) 2006, 2012 Oracle. All rights reserved. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0, which accompanies this distribution |
| * and is available at https://www.eclipse.org/legal/epl-2.0/. |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.jpa.ui.internal.details.java; |
| |
| import org.eclipse.jface.resource.ResourceManager; |
| import org.eclipse.jpt.common.ui.WidgetFactory; |
| import org.eclipse.jpt.common.utility.model.value.PropertyValueModel; |
| import org.eclipse.jpt.jpa.core.context.java.JavaEntity; |
| import org.eclipse.jpt.jpa.ui.internal.details.AbstractEntityComposite; |
| import org.eclipse.swt.widgets.Composite; |
| import org.eclipse.swt.widgets.Control; |
| |
| public class JavaEntityComposite |
| extends AbstractEntityComposite<JavaEntity> |
| { |
| public JavaEntityComposite( |
| PropertyValueModel<? extends JavaEntity> entityModel, |
| Composite parentComposite, |
| WidgetFactory widgetFactory, |
| ResourceManager resourceManager) { |
| super(entityModel, parentComposite, widgetFactory, resourceManager); |
| } |
| |
| @Override |
| protected Control initializeSecondaryTablesSection(Composite container) { |
| return new JavaSecondaryTablesComposite(this, container).getControl(); |
| } |
| |
| @Override |
| protected Control initializeInheritanceSection(Composite container) { |
| return new JavaInheritanceComposite(this, container).getControl(); |
| } |
| } |