Method | Description | |
---|---|---|
Close ( ) : int |
Close the factory
|
|
CreateEditorInstance ( uint grfCreateDoc, string pszMkDocument, string pszPhysicalView, IVsHierarchy pvHier, uint itemid, |
Create an instance of the custom editor
|
|
Dispose ( ) : void |
IDisposable Constructor
|
|
EditorFactory ( |
Constructor
|
|
GetService ( |
Private function to return the required service.
|
|
MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int |
This method is called by the Environment (inside IVsUIShellOpenDocument:: OpenStandardEditor and OpenSpecificEditor) to map a LOGICAL view to a PHYSICAL view.
|
|
SetSite ( Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp ) : int |
Used for initialization of the editor in the environment
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
IDisposable Constructor Override
|
public CreateEditorInstance ( uint grfCreateDoc, string pszMkDocument, string pszPhysicalView, IVsHierarchy pvHier, uint itemid, |
||
grfCreateDoc | uint | Behaviour Flags |
pszMkDocument | string | Document to be opened. |
pszPhysicalView | string | Name of the view |
pvHier | IVsHierarchy | Pointer to the IVSHierarchy |
itemid | uint | Item ID for this instance |
punkDocDataExisting | This parameter is used to determine if a document buffer (DocData object) has already been created | |
ppunkDocView | Pointer to the IUnknown interface for the DocView object | |
ppunkDocData | Pointer to the IUnknown interface for the DocData object | |
pbstrEditorCaption | string | Caption mentioned by the editor for the doc window |
pguidCmdUI | System.Guid | the Command UI Guid. Any UI element that is visible in the editor has to use this GUID. This is specified in the .vsct file |
pgrfCDW | int | Flags for CreateDocumentWindow |
return | int |
public EditorFactory ( |
||
package | ||
return | System |
public GetService ( |
||
serviceType | ||
return | object |
public MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int | ||
rguidLogicalView | System.Guid | |
pbstrPhysicalView | string | |
return | int |
public SetSite ( Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp ) : int | ||
psp | Microsoft.VisualStudio.OLE.Interop.IServiceProvider | pointer to the service provider. Can be used to obtain instances of other interfaces |
return | int |