Class AbstractFeatureFieldModelFactory

    • Constructor Detail

      • AbstractFeatureFieldModelFactory

        public AbstractFeatureFieldModelFactory()
    • Method Detail

      • 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.
        objects - the objects for that the model is created.
        Returns:
        the newly created model.
      • createSingleModel

        protected abstract IModel createSingleModel​(EObjectFeature objectFeature)
        Creates model for single object.
        Parameters:
        objectFeature - the EObjectFeature instance that contains all needed information.
        Returns:
        a newly created model.
      • createGroupModel

        protected IModel createGroupModel​(IFieldDefinition definition,
                                          org.eclipse.emf.ecore.EObject... objects)
        Creates model for multiple objects. Returns null by default.
        Parameters:
        definition - the field definition.
        objects - objects.
        Returns:
        a newly created model.