C# Class Company.OrmLanguage.OrmLanguageToolboxHelperBase

Afficher le fichier Open project: thabart/SimpleOrm

Méthodes publiques

Méthode Description
CreateToolboxItems ( ) : global::System.Collections.Generic.IList

Returns a list of custom toolbox items to be added dynamically

GetToolboxItem ( string itemId, global::Microsoft.VisualStudio.Modeling store ) : DslDesign::ModelingToolboxItem

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 itemId, DataFormats format ) : object

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

Méthodes protégées

Méthode Description
CreateElementToolPrototype ( global::Microsoft.VisualStudio.Modeling store, global domainClassId ) : DslModeling::ElementGroupPrototype

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.

OrmLanguageToolboxHelperBase ( global serviceProvider ) : System

Constructs a new OrmLanguageToolboxHelperBase.

Private Methods

Méthode Description
GetToolboxItem ( string itemId ) : DslDesign::ModelingToolboxItem

Given a toolbox item "unique ID" returns the the toolbox item using cached dictionary

Method Details

CreateElementToolPrototype() protected méthode

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.
protected CreateElementToolPrototype ( global::Microsoft.VisualStudio.Modeling store, global domainClassId ) : DslModeling::ElementGroupPrototype
store global::Microsoft.VisualStudio.Modeling
domainClassId global
Résultat DslModeling::ElementGroupPrototype

CreateToolboxItems() public méthode

Returns a list of custom toolbox items to be added dynamically
public CreateToolboxItems ( ) : global::System.Collections.Generic.IList
Résultat global::System.Collections.Generic.IList

GetToolboxItem() public méthode

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 GetToolboxItem ( string itemId, global::Microsoft.VisualStudio.Modeling store ) : DslDesign::ModelingToolboxItem
itemId string unique name of desired ToolboxItem
store global::Microsoft.VisualStudio.Modeling Store to perform the operation against
Résultat DslDesign::ModelingToolboxItem

GetToolboxItemData() public méthode

Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.
public GetToolboxItemData ( string itemId, DataFormats format ) : object
itemId string The unique ToolboxItem to retrieve data for
format System.Windows.Forms.DataFormats The desired format of the resulting data
Résultat object

OrmLanguageToolboxHelperBase() protected méthode

Constructs a new OrmLanguageToolboxHelperBase.
protected OrmLanguageToolboxHelperBase ( global serviceProvider ) : System
serviceProvider global
Résultat System