C# Class ShaderTools.VisualStudio.Core.EditorFactoryBase

Inheritance: IVsEditorFactory
Mostrar archivo Open project: tgjones/HlslTools Class Usage Examples

Public Methods

Method Description
Close ( ) : int
CreateEditorInstance ( uint createEditorFlags, string documentMoniker, string physicalView, IVsHierarchy hierarchy, uint itemid, IntPtr docDataExisting, IntPtr &docView, IntPtr &docData, string &editorCaption, System.Guid &commandUIGuid, int &createDocumentWindowFlags ) : int
MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int
SetSite ( Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp ) : int

Protected Methods

Method Description
EditorFactoryBase ( LanguagePackageBase package ) : System
GetLanguageInfoType ( ) : Type

Private Methods

Method Description
CreateCodeView ( string documentMoniker, IVsTextLines textLines, bool createdDocData, string &editorCaption, System.Guid &cmdUI ) : IVsCodeWindow
CreateDocumentView ( string documentMoniker, string physicalView, IVsHierarchy hierarchy, uint itemid, IVsTextLines textLines, bool createdDocData, string &editorCaption, System.Guid &cmdUI ) : object
GetTextBuffer ( System docDataExisting, string filename ) : IVsTextLines

Method Details

Close() public method

public Close ( ) : int
return int

CreateEditorInstance() public method

public CreateEditorInstance ( uint createEditorFlags, string documentMoniker, string physicalView, IVsHierarchy hierarchy, uint itemid, IntPtr docDataExisting, IntPtr &docView, IntPtr &docData, string &editorCaption, System.Guid &commandUIGuid, int &createDocumentWindowFlags ) : int
createEditorFlags uint
documentMoniker string
physicalView string
hierarchy IVsHierarchy
itemid uint
docDataExisting System.IntPtr
docView System.IntPtr
docData System.IntPtr
editorCaption string
commandUIGuid System.Guid
createDocumentWindowFlags int
return int

EditorFactoryBase() protected method

protected EditorFactoryBase ( LanguagePackageBase package ) : System
package LanguagePackageBase
return System

GetLanguageInfoType() protected abstract method

protected abstract GetLanguageInfoType ( ) : Type
return System.Type

MapLogicalView() public method

public MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int
rguidLogicalView System.Guid
pbstrPhysicalView string
return int

SetSite() public method

public SetSite ( Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp ) : int
psp Microsoft.VisualStudio.OLE.Interop.IServiceProvider
return int