Table of Contents

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

string

Properties

Args

Custom arguments.

public IDictionary<string, object> Args { get; init; }

Property Value

IDictionary<string, object>

ElementTypeId

The type of edge that should be created by the edge creation tool.

public string ElementTypeId { get; init; }

Property Value

string

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

SourceElementId

The source element.

public string SourceElementId { get; init; }

Property Value

string

TargetElementId

The target element.

public string TargetElementId { get; init; }

Property Value

string

Methods

ExecuteAsync(IGlspSession)

Executes the action in the context of the given session

public override Task ExecuteAsync(IGlspSession session)

Parameters

session IGlspSession

The session in which to execute the action

Returns

Task