Table of Contents

Class RequestBoundsAction

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

Sent from the server to the client to request bounds for the given model. The model is rendered invisibly so the bounds can derived from the DOM. The response is a ComputedBoundsAction. This hidden rendering round-trip is necessary if the client is responsible for parts of the layout.

public class RequestBoundsAction : RequestAction
Inheritance
RequestBoundsAction
Inherited Members

Fields

RequestBoundsActionKind

The kind value used for this kind of action

public const string RequestBoundsActionKind = "requestBounds"

Field Value

string

Properties

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

NewRoot

The model elements to consider to compute the new bounds.

public GGraph NewRoot { get; set; }

Property Value

GGraph

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