C# Class Company.OrmLanguage.EntityShape

Inheritance: DslDiagrams::CompartmentShape
Afficher le fichier Open project: thabart/SimpleOrm

Méthodes publiques

Свойство Type Description
DomainClassId global::System.Guid

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
GetElementsFromEntityElementForProperties ( global::Microsoft.VisualStudio.Modeling rootElement ) : global::System.Collections.IList

Method Details

EntityShape() public méthode

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

FindEntityShapeDecorator() public static méthode

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

GetCompartmentDescriptions() public méthode

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

GetCompartmentMappings() protected méthode

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
Résultat DslDiagrams::CompartmentMapping[]

InitializeDecorators() protected méthode

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
Résultat void

InitializeShapeFields() protected méthode

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

OnBoundsFixup() public méthode

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
Résultat void

OnInitialize() public méthode

Shape instance initialization.
public OnInitialize ( ) : void
Résultat void

Property Details

DomainClassId public_oe static_oe property

EntityShape domain class Id.
public static global::System.Guid DomainClassId
Résultat global::System.Guid