Table of Contents

Interface IShape

Namespace
NMF.Glsp.Notation
Assembly
NMF.Glsp.dll

The public interface for Shape

[DefaultImplementationType(typeof(Shape))]
[XmlDefaultImplementationType(typeof(Shape))]
[ModelRepresentationClass("http://www.eclipse.org/glsp/notation#//Shape")]
public interface IShape : INotationElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Position

The position property

[Browsable(false)]
[XmlElementName("position")]
[XmlAttribute(false)]
[Containment]
IGPoint Position { get; set; }

Property Value

IGPoint

Size

The size property

[Browsable(false)]
[XmlElementName("size")]
[XmlAttribute(false)]
[Containment]
IGDimension Size { get; set; }

Property Value

IGDimension

Events

PositionChanged

Gets fired when the Position property changed its value

event EventHandler<ValueChangedEventArgs> PositionChanged

Event Type

EventHandler<ValueChangedEventArgs>

PositionChanging

Gets fired before the Position property changes its value

event EventHandler<ValueChangedEventArgs> PositionChanging

Event Type

EventHandler<ValueChangedEventArgs>

SizeChanged

Gets fired when the Size property changed its value

event EventHandler<ValueChangedEventArgs> SizeChanged

Event Type

EventHandler<ValueChangedEventArgs>

SizeChanging

Gets fired before the Size property changes its value

event EventHandler<ValueChangedEventArgs> SizeChanging

Event Type

EventHandler<ValueChangedEventArgs>