Class BmStyleItemTypeModel

    • Constructor Detail

      • BmStyleItemTypeModel

        public BmStyleItemTypeModel​(org.eclipse.emf.ecore.EObject object,
                                    org.eclipse.emf.ecore.EStructuralFeature feature,
                                    IV8Project v8project)
        Instantiates a new BM value.
        Parameters:
        object - the object, cannot be null
        feature - the object feature, cannot be null
        v8project - the V8 project, cannot be null
    • Method Detail

      • setObjectValue

        protected void setObjectValue​(org.eclipse.emf.ecore.EObject object,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      StyleElementType newValue)
        Description copied from class: BmValue
        Sets the new value of the provided model object feature during the commit.
        The method is invoked within the task, so the given objects have the relevant state (e.g. attached to transaction).
        Overrides:
        setObjectValue in class BmValue<StyleElementType>
        Parameters:
        object - the object to set new value, cannot be null.
        feature - the feture to set, cannot be null.
        newValue - the new value to set, can be null.