/**
* <copyright>
*
* Copyright (c) 2005-2006 IBM Corporation 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:
* IBM - Initial API and implementation
*
* </copyright>
*
* $Id: GenModelExportActionDelegate.java,v 1.2 2006/12/28 06:50:54 marcelop Exp $
*/
/**
* <copyright>
*
* Copyright (c) 2005-2006 IBM Corporation 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:
* IBM - Initial API and implementation
*
* </copyright>
*
* $Id: GenModelReloadActionDelegate.java,v 1.5 2006/12/28 06:53:13 marcelop Exp $
*/
package org.eclipse.emf. [[#variable17146400]].ui;
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbench;
import org.eclipse.emf.converter.ui.OpenWizardActionDelegate;
/**
* Exports a GenModel file and the Ecore files behind it.
* @since 2.2.0
*/
/**
* Reloads a GenModel file and the Ecore files behind it.
* @since 2.1.0
*/
public class [[#variable171463a0]]extends OpenWizardActionDelegate {
@Override protected IWizard createWizard(IWorkbench workbench, Shell shell, IFile file) {
[[#variable17146300]] wizard = new [[#variable17146300]](file);
wizard.init(workbench, new StructuredSelection(file));
return wizard;
}
}
|