Table of Contents

Class CutOperation

Namespace
NMF.Glsp.Protocol.Clipboard
Assembly
NMF.Glsp.dll

Requests a cut operation from the server, i.e., deleting the selected elements from the model. Before submitting a CutOperation a client should ensure that the cut elements are put into the clipboard.

public class CutOperation : Operation
Inheritance
CutOperation
Inherited Members

Fields

CutOperationKind

The kind value used for this kind of action

public const string CutOperationKind = "cut"

Field Value

string

Properties

EditorContext

The current editor context.

public EditorContext EditorContext { get; init; }

Property Value

EditorContext

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