Compartilhar via


DslDefinitionModelToolboxHelperBase Class

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelToolboxHelperBase
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelToolboxHelper

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
Public MustInherit Class DslDefinitionModelToolboxHelperBase
public abstract class DslDefinitionModelToolboxHelperBase
public ref class DslDefinitionModelToolboxHelperBase abstract
[<AbstractClass>]
type DslDefinitionModelToolboxHelperBase =  class end
public abstract class DslDefinitionModelToolboxHelperBase

The DslDefinitionModelToolboxHelperBase type exposes the following members.

Constructors

  Name Description
Protected method DslDefinitionModelToolboxHelperBase Constructs a new DslDefinitionModelToolboxHelperBase.

Top

Properties

  Name Description
Public propertyStatic member DefaultToolboxTabName Returns the display name of the tab that should be opened by default when the editor is opened.
Public propertyStatic member DefaultToolboxTabToolboxItemsCount Returns the toolbox items count in the default tool box tab.
Protected property ServiceProvider
Protected property ToolboxStore

Top

Methods

  Name Description
Protected method CreateElementToolPrototype Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id. Default behavior is to create a prototype containing an instance of the domain class. Derived classes may override this to add additional information to the prototype.
Public method CreateToolboxItems Returns a list of custom toolbox items to be added dynamically
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetToolboxItem Returns instance of ModelingToolboxItem based on specified name. This method must be called from within a Transaction. Failure to do so will result in an exception
Public method GetToolboxItemData Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DiagramElementMapToolFilterString Toolbox item filter string used to identify DiagramElementMapTool connector tool.
Public fieldStatic member EmbeddingRelationshipToolFilterString Toolbox item filter string used to identify EmbeddingRelationshipTool connector tool.
Public fieldStatic member InheritanceToolFilterString Toolbox item filter string used to identify InheritanceTool connector tool.
Public fieldStatic member ReferenceRelationshipToolFilterString Toolbox item filter string used to identify ReferenceRelationshipTool connector tool.
Public fieldStatic member ToolboxFilterString Toolbox item filter string used to identify DslDefinitionModel toolbox items.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.DslDefinition Namespace