Table of Contents

Class ChangeBoundsOperation

Namespace
NMF.Glsp.Protocol.Modification
Assembly
NMF.Glsp.dll

Triggers the position or size change of elements. This action concerns only the element’s graphical size and position. Whether an element can be resized or repositioned may be specified by the server with a TypeHint to allow for immediate user feedback before resizing or repositioning.

public class ChangeBoundsOperation : Operation
Inheritance
ChangeBoundsOperation
Inherited Members

Fields

ChangeBoundsOperationKind

The kind value used for this kind of action

public const string ChangeBoundsOperationKind = "changeBounds"

Field Value

string

Properties

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

NewBounds

The new bounds of the respective elements.

public ElementAndBounds[] NewBounds { get; init; }

Property Value

ElementAndBounds[]

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