Class CompositeModelFactory

    • Field Detail

      • INSTANCE

        public static final IModelFactory INSTANCE
        The shared instance of the model factory.
    • Method Detail

      • createModel

        public IModel createModel​(IDefinition definition,
                                  Collection<Object> objects)
        Description copied from interface: IModelFactory
        Creates IModel instance by the given arguments.
        Specified by:
        createModel in interface IModelFactory
        Parameters:
        definition - the definition, cannot be null.
        objects - the objects for that the model is created, cannot be null.
        Returns:
        the newly created model or null.
      • createModel

        public IModel createModel​(IDefinition definition,
                                  org.eclipse.emf.ecore.EObject... objects)
        Description copied from interface: IModelFactory
        Creates IModel instance by the given arguments.
        Specified by:
        createModel in interface IModelFactory
        Parameters:
        definition - the definition, cannot be null.
        objects - the objects for that the model is created.
        Returns:
        the newly created model.
      • getFactories

        protected List<IModelFactory> getFactories()
        Gets list of AEF model factories.
        Returns:
        list of model factories.