Udostępnij za pośrednictwem


DslDefinitionModelToolboxHelper Class

Definition

Helper class used to create and initialize toolbox items for this DSL.

public ref class DslDefinitionModelToolboxHelper : Microsoft::VisualStudio::Modeling::DslDefinition::DslDefinitionModelToolboxHelperBase
public class DslDefinitionModelToolboxHelper : Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelToolboxHelperBase
type DslDefinitionModelToolboxHelper = class
    inherit DslDefinitionModelToolboxHelperBase
Public Class DslDefinitionModelToolboxHelper
Inherits DslDefinitionModelToolboxHelperBase
Inheritance
DslDefinitionModelToolboxHelper

Remarks

Double-derived class to allow easier code customization.

Constructors

DslDefinitionModelToolboxHelper(IServiceProvider)

Constructs a new DslDefinitionModelToolboxHelper.

Fields

DiagramElementMapToolFilterString

Toolbox item filter string used to identify DiagramElementMapTool connector tool.

(Inherited from DslDefinitionModelToolboxHelperBase)
EmbeddingRelationshipToolFilterString

Toolbox item filter string used to identify EmbeddingRelationshipTool connector tool.

(Inherited from DslDefinitionModelToolboxHelperBase)
InheritanceToolFilterString

Toolbox item filter string used to identify InheritanceTool connector tool.

(Inherited from DslDefinitionModelToolboxHelperBase)
ReferenceRelationshipToolFilterString

Toolbox item filter string used to identify ReferenceRelationshipTool connector tool.

(Inherited from DslDefinitionModelToolboxHelperBase)
ToolboxFilterString

Toolbox item filter string used to identify DslDefinitionModel toolbox items.

(Inherited from DslDefinitionModelToolboxHelperBase)

Properties

ServiceProvider

Serivce provider used to access services from the hosting environment.

(Inherited from DslDefinitionModelToolboxHelperBase)
ToolboxStore

The store toe be used for all the toolbox item creation

(Inherited from DslDefinitionModelToolboxHelperBase)

Methods

CreateElementToolPrototype(Store, Guid)

Customize the creation of toolbox prototypes

CreateToolboxItems()

Returns a list of custom toolbox items to be added dynamically

(Inherited from DslDefinitionModelToolboxHelperBase)
GetToolboxItem(String, Store)

Customization: Support another known and not generated ItemId

GetToolboxItemData(String, DataFormats+Format)

Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.

(Inherited from DslDefinitionModelToolboxHelperBase)

Applies to