Class LayoutInformation
The default implementation of the LayoutInformation class
Inheritance
Inherited Members
Namespace: NMF.Interop.Layout
Assembly: NMF.EcoreInterop.dll
Syntax
[XmlNamespace("http://www.emftext.org/commons/layout")]
[XmlNamespacePrefix("layout")]
[ModelRepresentationClass("http://www.emftext.org/commons/layout#//LayoutInformation/")]
public abstract class LayoutInformation : ModelElement, ILayoutInformation, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Properties
| Edit this page View SourceClassInstance
Gets the Class model for this type
Declaration
public static IClass ClassInstance { get; }
Property Value
Type | Description |
---|---|
IClass |
HiddenTokenText
The hiddenTokenText property
Declaration
[XmlElementName("hiddenTokenText")]
[XmlAttribute(true)]
public virtual string HiddenTokenText { get; set; }
Property Value
Type | Description |
---|---|
string |
StartOffset
The startOffset property
Declaration
[XmlElementName("startOffset")]
[XmlAttribute(true)]
public virtual int StartOffset { get; set; }
Property Value
Type | Description |
---|---|
int |
SyntaxElementID
The syntaxElementID property
Declaration
[XmlElementName("syntaxElementID")]
[XmlAttribute(true)]
public virtual string SyntaxElementID { get; set; }
Property Value
Type | Description |
---|---|
string |
VisibleTokenText
The visibleTokenText property
Declaration
[XmlElementName("visibleTokenText")]
[XmlAttribute(true)]
public virtual string VisibleTokenText { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetAttributeValue(string, int)
Resolves the given attribute name
Declaration
protected override object GetAttributeValue(string attribute, int index)
Parameters
Type | Name | Description |
---|---|---|
string | attribute | The requested attribute name |
int | index | The index of this attribute |
Returns
Type | Description |
---|---|
object | The attribute value or null if it could not be found |
Overrides
| Edit this page View SourceGetClass()
Gets the Class for this model element
Declaration
public override IClass GetClass()
Returns
Type | Description |
---|---|
IClass |
Overrides
| Edit this page View SourceOnHiddenTokenTextChanged(ValueChangedEventArgs)
Raises the HiddenTokenTextChanged event
Declaration
protected virtual void OnHiddenTokenTextChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnHiddenTokenTextChanging(ValueChangedEventArgs)
Raises the HiddenTokenTextChanging event
Declaration
protected virtual void OnHiddenTokenTextChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnStartOffsetChanged(ValueChangedEventArgs)
Raises the StartOffsetChanged event
Declaration
protected virtual void OnStartOffsetChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnStartOffsetChanging(ValueChangedEventArgs)
Raises the StartOffsetChanging event
Declaration
protected virtual void OnStartOffsetChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnSyntaxElementIDChanged(ValueChangedEventArgs)
Raises the SyntaxElementIDChanged event
Declaration
protected virtual void OnSyntaxElementIDChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnSyntaxElementIDChanging(ValueChangedEventArgs)
Raises the SyntaxElementIDChanging event
Declaration
protected virtual void OnSyntaxElementIDChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnVisibleTokenTextChanged(ValueChangedEventArgs)
Raises the VisibleTokenTextChanged event
Declaration
protected virtual void OnVisibleTokenTextChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnVisibleTokenTextChanging(ValueChangedEventArgs)
Raises the VisibleTokenTextChanging event
Declaration
protected virtual void OnVisibleTokenTextChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
SetFeature(string, object)
Sets a value to the given feature
Declaration
protected override void SetFeature(string feature, object value)
Parameters
Type | Name | Description |
---|---|---|
string | feature | The requested feature |
object | value | The value that should be set to that feature |
Overrides
Events
| Edit this page View SourceHiddenTokenTextChanged
Gets fired when the HiddenTokenText property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> HiddenTokenTextChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
HiddenTokenTextChanging
Gets fired before the HiddenTokenText property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> HiddenTokenTextChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
StartOffsetChanged
Gets fired when the StartOffset property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> StartOffsetChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
StartOffsetChanging
Gets fired before the StartOffset property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> StartOffsetChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
SyntaxElementIDChanged
Gets fired when the SyntaxElementID property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> SyntaxElementIDChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
SyntaxElementIDChanging
Gets fired before the SyntaxElementID property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> SyntaxElementIDChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
VisibleTokenTextChanged
Gets fired when the VisibleTokenText property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> VisibleTokenTextChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
VisibleTokenTextChanging
Gets fired before the VisibleTokenText property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> VisibleTokenTextChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |