Class ASMModelWrapper

java.lang.Object
org.eclipse.m2m.atl.core.ui.vm.asm.ASMModelWrapper
All Implemented Interfaces:
IModel, IReferenceModel

public class ASMModelWrapper extends Object implements IModel, IReferenceModel
The RegularVM adaptation of the IModel, IReferenceModel.
  • Constructor Details

    • ASMModelWrapper

      public ASMModelWrapper(ASMModelWrapper referenceModel, ASMFactory modelFactory, ModelLoader modelLoader, String modelName, String path, boolean newModel)
      Creates a new ASMModelWrapper.
      Parameters:
      referenceModel - the ASMModelWrapper metamodel
      modelFactory - the model loader creating this model.
      modelLoader - the model loader creating the wrapped model.
      modelName - the model name
      path - the model path (injection path for an existing one, extraction path for a new one)
      newModel - true if the model is a new one (output model)
    • ASMModelWrapper

      public ASMModelWrapper(ASMModel asmModel, ModelLoader modelLoader)
      Creates a new ASMModelWrapper, with the given ASMModel. This constructor is used to create metametamodels.
      Parameters:
      asmModel - the ASMModel
      modelLoader - the ModelLoader
  • Method Details