Table of Contents

Interface IAdhocEdgeSyntax

Namespace
NMF.Glsp.Language
Assembly
NMF.Glsp.dll

Denotes an interface for syntax provided for ad-hoc edges

public interface IAdhocEdgeSyntax : IChildSyntax<IAdhocEdgeSyntax>
Inherited Members
Extension Methods

Methods

WithLabel(Func<string>)

Sets the label for the generated edge to the given value provider

IAdhocEdgeSyntax WithLabel(Func<string> label)

Parameters

label Func<string>

A function returning the (optionally localized) tool label

Returns

IAdhocEdgeSyntax

A syntax instance for chaining purposes

WithType(string)

Customizes the type with which the edges are rendered

IAdhocEdgeSyntax WithType(string type)

Parameters

type string

The type string

Returns

IAdhocEdgeSyntax

A syntax instance for chaining purposes