Table of Contents

Class GLabel

Namespace
NMF.Glsp.Graph
Assembly
NMF.Glsp.dll

Denotes a label in a GLSP graph

public class GLabel : GElement
Inheritance
GLabel
Inherited Members

Properties

EdgeLabelPlacement

Denotes where to place the label on an edge

public EdgeLabelPlacement EdgeLabelPlacement { get; set; }

Property Value

EdgeLabelPlacement

SupportsLabelChange

True, if the label supports changes, otherwise false

[JsonIgnore]
public bool SupportsLabelChange { get; }

Property Value

bool

Text

Gets or sets the text of the label

public string Text { get; set; }

Property Value

string

Methods

Validate(string)

Validates the given input text

public ValidationStatus Validate(string text)

Parameters

text string

The text to validate

Returns

ValidationStatus

A validation status

Events

TextChanged

Raised when the text changed

public event Action<string> TextChanged

Event Type

Action<string>