DslDefinitionModelToolboxHelperBase Class

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

Inheritance Hierarchy


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


Public MustInherit Class DslDefinitionModelToolboxHelperBase
public abstract class DslDefinitionModelToolboxHelperBase
public ref class DslDefinitionModelToolboxHelperBase abstract
type DslDefinitionModelToolboxHelperBase =  class end
public abstract class DslDefinitionModelToolboxHelperBase

The DslDefinitionModelToolboxHelperBase type exposes the following members.


  Name Description
Protected method DslDefinitionModelToolboxHelperBase Constructs a new DslDefinitionModelToolboxHelperBase.



  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



  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.)



  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.


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


Microsoft.VisualStudio.Modeling.DslDefinition Namespace