Class CreateEdgeOperation
- Namespace
- NMF.Glsp.Protocol.Modification
- Assembly
- NMF.Glsp.dll
In order to create an edge in the model the client can send a CreateEdgeOperation with the necessary information to create that edge.
public class CreateEdgeOperation : Operation
- Inheritance
-
CreateEdgeOperation
- Inherited Members
Fields
CreateEdgeOperationKind
The kind value used for this kind of action
public const string CreateEdgeOperationKind = "createEdge"
Field Value
Properties
Args
Custom arguments.
public IDictionary<string, object> Args { get; init; }
Property Value
ElementTypeId
The type of edge that should be created by the edge creation tool.
public string ElementTypeId { get; init; }
Property Value
Kind
Unique identifier specifying the kind of action to process.
public override string Kind { get; }
Property Value
SourceElementId
The source element.
public string SourceElementId { get; init; }
Property Value
TargetElementId
The target element.
public string TargetElementId { get; init; }
Property Value
Methods
ExecuteAsync(IGlspSession)
Executes the action in the context of the given session
public override Task ExecuteAsync(IGlspSession session)
Parameters
session
IGlspSessionThe session in which to execute the action