DslDefinitionModelToolboxHelperBase Class

Definition

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

public ref class DslDefinitionModelToolboxHelperBase abstract
public abstract class DslDefinitionModelToolboxHelperBase
type DslDefinitionModelToolboxHelperBase = class
Public MustInherit Class DslDefinitionModelToolboxHelperBase
Inheritance
DslDefinitionModelToolboxHelperBase
Derived

Constructors

DslDefinitionModelToolboxHelperBase(IServiceProvider)

Constructs a new DslDefinitionModelToolboxHelperBase.

Fields

DiagramElementMapToolFilterString

Toolbox item filter string used to identify DiagramElementMapTool connector tool.

EmbeddingRelationshipToolFilterString

Toolbox item filter string used to identify EmbeddingRelationshipTool connector tool.

InheritanceToolFilterString

Toolbox item filter string used to identify InheritanceTool connector tool.

ReferenceRelationshipToolFilterString

Toolbox item filter string used to identify ReferenceRelationshipTool connector tool.

ToolboxFilterString

Toolbox item filter string used to identify DslDefinitionModel toolbox items.

Properties

DefaultToolboxTabName

Returns the display name of the tab that should be opened by default when the editor is opened.

DefaultToolboxTabToolboxItemsCount

Returns the toolbox items count in the default tool box tab.

ServiceProvider

Serivce provider used to access services from the hosting environment.

ToolboxStore

The store toe be used for all the toolbox item creation

Methods

CreateElementToolPrototype(Store, Guid)

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.

CreateToolboxItems()

Returns a list of custom toolbox items to be added dynamically

GetToolboxItem(String, Store)

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

GetToolboxItemData(String, DataFormats+Format)

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

Applies to