Class ReferenceLayoutInformation
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
Object
The object property
[XmlElementName("object")]
[XmlAttribute(true)]
public virtual IModelElement Object { get; set; }
Property Value
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Methods
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
GetExpressionForAttribute(string)
Gets the property expression for the given attribute
protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)
Parameters
attribute
stringThe 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
stringThe 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
ValueChangedEventArgsThe event data
OnObjectChanging(ValueChangedEventArgs)
Raises the ObjectChanging event
protected virtual void OnObjectChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)
Parameters
Events
ObjectChanged
Gets fired when the Object property changed its value
public event EventHandler<ValueChangedEventArgs> ObjectChanged
Event Type
ObjectChanging
Gets fired before the Object property changes its value
public event EventHandler<ValueChangedEventArgs> ObjectChanging