Class BmCharacteristicsDescriptionSelectionModel

    • Constructor Detail

      • BmCharacteristicsDescriptionSelectionModel

        public BmCharacteristicsDescriptionSelectionModel​(org.eclipse.emf.ecore.EObject object,
                                                          org.eclipse.emf.ecore.EStructuralFeature feature,
                                                          Supplier<NavigatorTreeDialogModel> dialogModelSupplier)
        Creates a new model.
        Parameters:
        object - the object, cannot be null
        feature - the feature, cannot be null
        dialogModelSupplier - the navigator tree dialog model supplier, cannot be null
    • Method Detail

      • setObjectValue

        protected void setObjectValue​(org.eclipse.emf.ecore.EObject object,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      MdObject 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<MdObject>
        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.