C# Class Company.OrmLanguage.EntityShape

Inheritance: DslDiagrams::CompartmentShape
Mostrar archivo Open project: thabart/SimpleOrm

Public Properties

Property Type Description
DomainClassId global::System.Guid

Public Methods

Method Description
EntityShape ( global::Microsoft.VisualStudio.Modeling store )

Constructor

FindEntityShapeDecorator ( string decoratorName ) : DslDiagrams::Decorator

Finds a decorator associated with EntityShape.

GetCompartmentDescriptions ( ) : DslDiagrams::CompartmentDescription[]

Gets an array of CompartmentDescription for all compartments shown on this shape (including compartments defined on base shapes).

OnBoundsFixup ( global::Microsoft.VisualStudio.Modeling.Diagrams fixupState, int iteration, bool createdDuringViewFixup ) : void

Ensure outer decorators are placed appropriately. This is called during view fixup, after the shape has been associated with the model element.

OnInitialize ( ) : void

Shape instance initialization.

Protected Methods

Method Description
GetCompartmentMappings ( global melType ) : DslDiagrams::CompartmentMapping[]

Gets an array of CompartmentMappings for all compartments displayed on this shape (including compartment maps defined on base shapes).

InitializeDecorators ( global shapeFields, global decorators ) : void

Initialize the collection of decorators associated with this shape type. This method also creates shape fields for outer decorators, because these are not part of the shape fields collection associated with the shape, so they must be created here rather than in InitializeShapeFields.

InitializeShapeFields ( global shapeFields ) : void

Initialize the collection of shape fields associated with this shape type.

Private Methods

Method Description
GetElementsFromEntityElementForProperties ( global::Microsoft.VisualStudio.Modeling rootElement ) : global::System.Collections.IList

Method Details

EntityShape() public method

Constructor
public EntityShape ( global::Microsoft.VisualStudio.Modeling store )
store global::Microsoft.VisualStudio.Modeling Store where new element is to be created.

FindEntityShapeDecorator() public static method

Finds a decorator associated with EntityShape.
public static FindEntityShapeDecorator ( string decoratorName ) : DslDiagrams::Decorator
decoratorName string
return DslDiagrams::Decorator

GetCompartmentDescriptions() public method

Gets an array of CompartmentDescription for all compartments shown on this shape (including compartments defined on base shapes).
public GetCompartmentDescriptions ( ) : DslDiagrams::CompartmentDescription[]
return DslDiagrams::CompartmentDescription[]

GetCompartmentMappings() protected method

Gets an array of CompartmentMappings for all compartments displayed on this shape (including compartment maps defined on base shapes).
protected GetCompartmentMappings ( global melType ) : DslDiagrams::CompartmentMapping[]
melType global The type of the DomainClass that this shape is mapped to
return DslDiagrams::CompartmentMapping[]

InitializeDecorators() protected method

Initialize the collection of decorators associated with this shape type. This method also creates shape fields for outer decorators, because these are not part of the shape fields collection associated with the shape, so they must be created here rather than in InitializeShapeFields.
protected InitializeDecorators ( global shapeFields, global decorators ) : void
shapeFields global
decorators global
return void

InitializeShapeFields() protected method

Initialize the collection of shape fields associated with this shape type.
protected InitializeShapeFields ( global shapeFields ) : void
shapeFields global
return void

OnBoundsFixup() public method

Ensure outer decorators are placed appropriately. This is called during view fixup, after the shape has been associated with the model element.
public OnBoundsFixup ( global::Microsoft.VisualStudio.Modeling.Diagrams fixupState, int iteration, bool createdDuringViewFixup ) : void
fixupState global::Microsoft.VisualStudio.Modeling.Diagrams
iteration int
createdDuringViewFixup bool
return void

OnInitialize() public method

Shape instance initialization.
public OnInitialize ( ) : void
return void

Property Details

DomainClassId public_oe static_oe property

EntityShape domain class Id.
public static global::System.Guid DomainClassId
return global::System.Guid