blob: 674fdfd29c0f47f45045d591b4a9cd622b2396c7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2012 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.jpa.eclipselink.ui.internal.platform;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jpt.jpa.core.JpaProject;
import org.eclipse.jpt.jpa.eclipselink.ui.internal.wizards.conversion.java.EclipseLinkJpaJavaConverterMetadataConversionWizard;
import org.eclipse.jpt.jpa.ui.internal.platform.base.AbstractJpaJavaGlobalMetadataConvertor;
public class EclipseLinkJpaJavaConverterMetadataConvertor extends
AbstractJpaJavaGlobalMetadataConvertor {
public EclipseLinkJpaJavaConverterMetadataConvertor(JpaProject jpaProject) {
super(jpaProject);
}
public static void convert(JpaProject jpaProject) {
new EclipseLinkJpaJavaConverterMetadataConvertor(jpaProject).convert();
}
@Override
protected Wizard getWizard(){
return new EclipseLinkJpaJavaConverterMetadataConversionWizard(super.jpaProject);
}
}