Table of Contents

Class ReferenceLayoutInformation

Namespace
NMF.Interop.Layout
Assembly
NMF.EcoreInterop.dll

The default implementation of the ReferenceLayoutInformation class

[XmlNamespace("http://www.emftext.org/commons/layout")]
[XmlNamespacePrefix("layout")]
[ModelRepresentationClass("http://www.emftext.org/commons/layout#//ReferenceLayoutInformation/")]
public class ReferenceLayoutInformation : LayoutInformation, IReferenceLayoutInformation, ILayoutInformation, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ReferenceLayoutInformation
Implements
Inherited Members

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Object

The object property

[XmlElementName("object")]
[XmlAttribute(true)]
public virtual IModelElement Object { get; set; }

Property Value

IModelElement

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Methods

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetExpressionForAttribute(string)

Gets the property expression for the given attribute

protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)

Parameters

attribute string

The requested attribute in upper case

Returns

INotifyExpression<object>

An incremental property expression

GetExpressionForReference(string)

Gets the property expression for the given reference

protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)

Parameters

reference string

The requested reference in upper case

Returns

INotifyExpression<IModelElement>

An incremental property expression

OnObjectChanged(ValueChangedEventArgs)

Raises the ObjectChanged event

protected virtual void OnObjectChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnObjectChanging(ValueChangedEventArgs)

Raises the ObjectChanging event

protected virtual void OnObjectChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

SetFeature(string, object)

Sets a value to the given feature

protected override void SetFeature(string feature, object value)

Parameters

feature string

The requested feature

value object

The value that should be set to that feature

Events

ObjectChanged

Gets fired when the Object property changed its value

public event EventHandler<ValueChangedEventArgs> ObjectChanged

Event Type

EventHandler<ValueChangedEventArgs>

ObjectChanging

Gets fired before the Object property changes its value

public event EventHandler<ValueChangedEventArgs> ObjectChanging

Event Type

EventHandler<ValueChangedEventArgs>