Class CommonPictureModelFactory

    • Constructor Detail

      • CommonPictureModelFactory

        public CommonPictureModelFactory()
    • 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, cannot be null.
        objects - the objects for that the model is created.
        Returns:
        the newly created model.
      • originalAppropriate

        protected boolean originalAppropriate​(CommonPicture original)
        Returns true if original common picture model is appropriate for this model factory.
        Parameters:
        original - the original common picture model, cannot be null
        Returns:
        true if original common picture model is appropriate for this model factory, false otherwise
      • getActualCommonPicture

        protected CommonPicture getActualCommonPicture​(CommonPicture original)
        Returns actual common picture to presentation.
        Parameters:
        original - the original common picture model, cannot be null
        Returns:
        the actual common picture to presentation, cannot be null