C# 클래스 Company.OrmLanguage.OrmLanguageToolboxHelperBase

파일 보기 프로젝트 열기: thabart/SimpleOrm

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetToolboxItem ( string itemId ) : DslDesign::ModelingToolboxItem

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

메소드 상세

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

CreateToolboxItems() 공개 메소드

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

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 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
리턴 DslDesign::ModelingToolboxItem

GetToolboxItemData() 공개 메소드

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
리턴 object

OrmLanguageToolboxHelperBase() 보호된 메소드

Constructs a new OrmLanguageToolboxHelperBase.
protected OrmLanguageToolboxHelperBase ( global serviceProvider ) : System
serviceProvider global
리턴 System