ExplorerBehaviorTypeDescriptor Class

Definition

Custom type descriptor class for ExplorerBehavior elements.

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

Constructors

ExplorerBehaviorTypeDescriptor(ICustomTypeDescriptor, ModelElement)

Constructor

ExplorerBehaviorTypeDescriptor(ICustomTypeDescriptor, Type)

Constructor

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[])

Method to create a PropertyDescriptor which describes the property to be displayed in the grid.

(Inherited from ElementTypeDescriptor)
CreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[])

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

(Inherited from ElementTypeDescriptor)
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

(Inherited from ElementTypeDescriptor)
GetProperties()

Returns the properties for this instance of a component.

(Inherited from ElementTypeDescriptor)
GetProperties(Attribute[])

Returns a collection of property descriptors an instance of ExplorerBehavior.

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)

For a given domain property defined in the requestor model element, ShouldCreatePropertyDescriptor determines whether we should create a property descriptor or not. Note that the selectedElement provides the context where the intended property dsscriptor will be created from.

(Inherited from ElementTypeDescriptor)
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