Table of Contents

Class ComputedBoundsAction

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

Sent from the client to the server to transmit the result of bounds computation as a response to a RequestBoundsAction. If the server is responsible for parts of the layout, it can do so after applying the computed bounds received with this action. Otherwise there is no need to send the computed bounds to the server, so they can be processed locally by the client.

public class ComputedBoundsAction : ResponseAction
Inheritance
ComputedBoundsAction
Inherited Members

Fields

ComputedBoundsActionKind

The kind value used for this kind of action

public const string ComputedBoundsActionKind = "computedBounds"

Field Value

string

Properties

Alignments

The new alignment of the model elements.

public ElementAndAlignment[] Alignments { get; set; }

Property Value

ElementAndAlignment[]

Bounds

The new bounds of the model elements.

public ElementAndBounds[] Bounds { get; set; }

Property Value

ElementAndBounds[]

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

Revision

The revision number.

public int? Revision { get; set; }

Property Value

int?

Routes

The route of the model elements.

public ElementAndRoutingPoints[] Routes { get; set; }

Property Value

ElementAndRoutingPoints[]

Methods

UpdateBounds(IGlspSession)

Updates bounds of elements as sent by the client

public void UpdateBounds(IGlspSession session)

Parameters

session IGlspSession