public final class ViewModelHelper extends Object
|Modifier and Type||Method and Description|
Creates a new view model file.
public static VView createViewModel(org.eclipse.core.resources.IFile modelFile, org.eclipse.emf.ecore.EClass selectedEClass, org.eclipse.core.resources.IFile selectedEcore) throws IOException
modelFile- the file in which the view should be saved
selectedEClass- the Root EClass for the new
selectedEcore- the ecore containing the selectedEClass. If the selectedEcore is null, then the selectedEClass must come from an EPackage which is registered by default in the package registry.
IOException- when something goes wrong while loading or saving the resource
Copyright © 2017. All rights reserved.