Table of Contents

Class LayoutOperation

Namespace
NMF.Glsp.Protocol.Layout
Assembly
NMF.Glsp.dll

Request a layout of the diagram or selected elements from the server.

public class LayoutOperation : Operation
Inheritance
LayoutOperation
Inherited Members

Fields

LayoutOperationKind

The kind value used for this kind of action

public const string LayoutOperationKind = "layout"

Field Value

string

Properties

ElementIds

The identifiers of the elements that should be layouted, will default to the root element if not defined.

public string[] ElementIds { get; set; }

Property Value

string[]

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

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