Share via


DslDefinitionModelElementTypeDescriptor Class

Definition

TypeDescriptor for DomainPath or PropertyPath.

public ref class DslDefinitionModelElementTypeDescriptor : Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor
public class DslDefinitionModelElementTypeDescriptor : Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
type DslDefinitionModelElementTypeDescriptor = class
    inherit ElementTypeDescriptor
Public Class DslDefinitionModelElementTypeDescriptor
Inherits ElementTypeDescriptor
Inheritance
DslDefinitionModelElementTypeDescriptor

Constructors

DslDefinitionModelElementTypeDescriptor(ICustomTypeDescriptor, ModelElement)

DslDefinitionModelElementTypeDescriptor ctor. It's calling base class directly.

Properties

ComponentType

Returns the component type of the selected model element.

(Inherited from ElementTypeDescriptor)
ModelElement

Returns the model element wrapped by this descriptor

(Inherited from ElementTypeDescriptor)
Store

Store to use to retrieve DomainInfo from. If we are describing a Type, this is a dummy store used for reflection only.

(Inherited from ElementTypeDescriptor)

Methods

CollectionRolePropertiesBrowsable(ModelElement)

For all the relationships this model element participate, return whether any PropertyDescriptor for Collection properties based on roles is Browsable

(Inherited from ElementTypeDescriptor)
CreateCollectionPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[]) (Inherited from ElementTypeDescriptor)
CreatePropertyDescriptor(ModelElement, DomainPropertyInfo, Attribute[])

Create the PropertyDescriptor for a given DomainProperty

CreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[])

Method to create a PropertyDescriptor which describes a relationship and role to be displayed in the grid.

GetCategory(ElementPropertyDescriptor)

Returns localized Category for Domain Property

(Inherited from ElementTypeDescriptor)
GetClassName()

Returns the name of the class this descriptor represents.

(Inherited from ElementTypeDescriptor)
GetComponentName()

The name of the object, or an empty string if object does not have a name.

(Inherited from ElementTypeDescriptor)
GetDescription(ElementPropertyDescriptor)

Returns localized Description for Domain Property

(Inherited from ElementTypeDescriptor)
GetDisplayProperties(ModelElement, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

(Inherited from ElementTypeDescriptor)
GetDisplayProperties(ModelElement, Store, PropertyDescriptor)

Returns a list of property descriptors corresponding to each domain property

(Inherited from ElementTypeDescriptor)
GetDomainClassInfo(ModelElement)

Return the domain class info for the type of element being described.

(Inherited from ElementTypeDescriptor)
GetDomainPropertyAttributes(DomainPropertyInfo)

Gets an array of custom attributes for the specified DomainProperty.

(Inherited from ElementTypeDescriptor)
GetExtensionProperties(ModelElement, Attribute[])

Returns the property descriptors for any extension elements

GetProperties()

Override base to supply property descriptors for each property in the model elemnt.

GetProperties(Attribute[])

Method to supply our own set of property descriptors for the designated ModelElement.

GetPropertyDescriptorDisplayName(ElementPropertyDescriptor)

Returns localized DisplayName for the passed in elementPropertyDescriptor

(Inherited from ElementTypeDescriptor)
GetRolePlayerPropertyAttributes(DomainRoleInfo)

Gets an array of custom attributes for the specified DomainRole.

(Inherited from ElementTypeDescriptor)
IncludeCollectionRoleProperties(ModelElement)

For all the relationships this model element participate, return whether to provide a PropertyDescriptor for Collection properties based on roles.

(Inherited from ElementTypeDescriptor)
IncludeEmbeddingRelationshipProperties(ModelElement)

For all the relationships this model element participate, return whether to display DomainProperty defined on the DomainRelationship if this is an embedded model element.

(Inherited from ElementTypeDescriptor)
IncludeOppositeRolePlayerProperties(ModelElement)

For all the relationships this model element participate, return whether to display the opposite role player's ElementName property if the multiplicity is One/ZeroOne

(Inherited from ElementTypeDescriptor)
IsPropertyDescriptorReadOnly(ElementPropertyDescriptor)

Returns whether this element property descriptor is read only or not.

(Inherited from ElementTypeDescriptor)
ShouldCreateCollectionPropertyDescriptor(ModelElement, DomainRoleInfo)

For the relationship and the instance level role players involved, return whether to create a property descriptor for the collections

(Inherited from ElementTypeDescriptor)
ShouldCreatePropertyDescriptor(ModelElement, DomainPropertyInfo)

Gets whether to create type descriptor for a givne property.

ShouldCreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo)

For the relationship and the instance level role players involved, return whether to create a property descriptor for the opposite role player

(Inherited from ElementTypeDescriptor)

Applies to