/******************************************************************************* | |
* Copyright (c) 2008 The University of York. | |
* This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License 2.0 | |
* which is available at https://www.eclipse.org/legal/epl-2.0/ | |
* | |
* Contributors: | |
* Dimitrios Kolovos - initial API and implementation | |
******************************************************************************/ | |
package org.eclipse.epsilon.examples.standalone.eol; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.eclipse.epsilon.eol.EolModule; | |
import org.eclipse.epsilon.eol.IEolModule; | |
import org.eclipse.epsilon.eol.models.IModel; | |
import org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExample; | |
/** | |
* This example demonstrates instantiating | |
* EmfTool using EOL in a standalone manner. | |
* @author Dimitrios Kolovos | |
*/ | |
public class EolEmfToolStandaloneExample extends EpsilonStandaloneExample { | |
public static void main(String[] args) throws Exception { | |
new EolEmfToolStandaloneExample().execute(); | |
} | |
@Override | |
public IEolModule createModule() { | |
return new EolModule(); | |
} | |
@Override | |
public List<IModel> getModels() throws Exception { | |
List<IModel> models = new ArrayList<IModel>(); | |
//models.add(createEmfModel("Model", "models/Tree.xmi", "models/Tree.ecore", true, true)); | |
return models; | |
} | |
@Override | |
public String getSource() throws Exception { | |
return "eol/EmfTool.eol"; | |
} | |
@Override | |
public void postProcess() { | |
} | |
} |