Documentation Language: Swift

Method

createSetCommand(object:feature:value:)

Create a command to set a property value on an object.

@MainActor func createSetCommand(object: any EObject, feature: any EStructuralFeature, value: (any EcoreValue)?) -> SetCommand

Parameters

object

The EObject to modify

feature

The structural feature to set

value

The new value to assign

Return Value

A configured SetCommand