Table of Contents

Class SourceModelChangedAction

Namespace
NMF.Glsp.Protocol.ModelData
Assembly
NMF.Glsp.dll

Sent from the server to the client in order to indicate that the source model has changed. The source model denotes the data source from which the diagram has been originally derived (such as a file, a database, etc.). Typically clients would react to such an action by asking the user whether she wants to reload the diagram or ignore the changes and continue editing. If the editor has no changes (i.e. is not dirty), clients may also choose to directly refresh the editor by sending a RequestModelAction.

public class SourceModelChangedAction : BaseAction
Inheritance
SourceModelChangedAction
Inherited Members

Fields

SourceModelChangedActionKind

The kind value used for this kind of action

public const string SourceModelChangedActionKind = "sourceModelChanged"

Field Value

string

Properties

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

SourceModelName

A human readable name of the source model (e.g. the file name).

public string SourceModelName { get; set; }

Property Value

string