org.eclipse.emf.ecp.ecore.editor.internal
Class EcoreGenModelLinkerImpl

java.lang.Object
  extended by org.eclipse.emf.ecp.ecore.editor.internal.EcoreGenModelLinkerImpl
All Implemented Interfaces:
IEcoreGenModelLinker

public class EcoreGenModelLinkerImpl
extends Object
implements IEcoreGenModelLinker

A class which creates a new ecore file and a new genmodel file and links the two of them.


Constructor Summary
EcoreGenModelLinkerImpl()
           
 
Method Summary
 void generateGenModel(String ecorePath, String genModelPathParam, String modelProjectPath)
          Creates a new ecore file and a new genmodel file and links the two of them.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcoreGenModelLinkerImpl

public EcoreGenModelLinkerImpl()
Method Detail

generateGenModel

public void generateGenModel(String ecorePath,
                             String genModelPathParam,
                             String modelProjectPath)
                      throws EcoreGenException
Creates a new ecore file and a new genmodel file and links the two of them.

Specified by:
generateGenModel in interface IEcoreGenModelLinker
Parameters:
ecorePath - The path (absolute) of the new ecore file
genModelPathParam - The path (relative) of the new genmodel file
modelProjectPath - The path (relative) of the model project
Throws:
EcoreGenException - in case generating the genmodel fails


Copyright © 2014. All Rights Reserved.