Class ModelApiChange

    • Constructor Detail

      • ModelApiChange

        public ModelApiChange​(Collection<org.eclipse.emf.ecore.EObject> objects,
                              IModelApi api,
                              IModelApiTaskN<Void> task)
        Creates a new change.
        Parameters:
        objects - the objects to affect, cannot be null.
        api - the model API, cannot be null.
        task - the task to execute, cannot be null.
    • Method Detail

      • apply

        public void apply()
        Description copied from interface: IChange
        Applies the change.
        Specified by:
        apply in interface IChange