Table of Contents

Class CheckEdgeResultAction

Namespace
NMF.Glsp.Protocol.Types
Assembly
NMF.Glsp.dll

Sent from the server to the client as a response for a {@link RequestCheckEdgeAction}. It provides a boolean indicating whether the edge context information provided by the corresponding request action is valid i.e. creation of an edge with the given edge type and source/target element is allowed.

public class CheckEdgeResultAction : ResponseAction
Inheritance
CheckEdgeResultAction
Inherited Members

Fields

CheckEdgeResultActionKind

The kind value used for this kind of action

public const string CheckEdgeResultActionKind = "checkEdgeTargetResult"

Field Value

string

Properties

EdgeType

The element type of the edge that has been checked.

public string EdgeType { get; init; }

Property Value

string

IsValid

true if the selected element is a valid target for this edge, false otherwise.

public bool IsValid { get; init; }

Property Value

bool

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

SourceElementId

The ID of the source element of the edge that has been checked.

public string SourceElementId { get; init; }

Property Value

string

TargetElementId

The ID of the target element of the edge that has been checked.

public string TargetElementId { get; init; }

Property Value

string