Table of Contents

Class ReconnectEdgeOperation

Namespace
NMF.Glsp.Protocol.Modification
Assembly
NMF.Glsp.dll

If the source and/or target element of an edge should be adapted, the client can send a ReconnectEdgeOperation to the server.

public class ReconnectEdgeOperation : Operation
Inheritance
ReconnectEdgeOperation
Inherited Members

Fields

ReconnectEdgeOperationKind

The kind value used for this kind of action

public const string ReconnectEdgeOperationKind = "reconnectEdge"

Field Value

string

Properties

Args

Additional arguments for custom behavior.

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

Property Value

IDictionary<string, object>

EdgeElementId

The edge element that should be reconnected.

public string EdgeElementId { get; set; }

Property Value

string

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

SourceElementId

The (new) source element of the edge.

public string SourceElementId { get; set; }

Property Value

string

TargetElementId

The (new) target element of the edge.

public string TargetElementId { get; set; }

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