Table of Contents

Class AbstractNodeDescriptor<T>

Namespace
NMF.Glsp.Language
Assembly
NMF.Glsp.dll

Defines a base class for a description of abstract classes

public class AbstractNodeDescriptor<T> : NodeDescriptor<T>

Type Parameters

T

The semantic type of elements described by this descriptor

Inheritance
AbstractNodeDescriptor<T>
Inherited Members

Properties

CanCreateElement

True, if an instance of this element type can be created, otherwise False

public override bool CanCreateElement { get; }

Property Value

bool

Methods

CreateElement(string, object)

Creates a new element

public override T CreateElement(string profile, object parent)

Parameters

profile string

The profile for the created element

parent object

The semantic parent element

Returns

T

A new element

DefineLayout()

Called by the graphical language setup to initialize the layout described by this descriptor

protected override void DefineLayout()