C# Class VsTeXProject.VisualStudio.Project.FileDocumentManager

Inheritance: DocumentManager
Exibir arquivo Open project: mimura1133/vstex

Public Methods

Method Description
FileDocumentManager ( FileNode node ) : System
Open ( System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file using the standard editor

Open ( bool newFile, bool openWith, System.Guid logicalView, IVsWindowFrame &frame, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window with a std editor

Open ( bool newFile, bool openWith, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window

Open ( bool newFile, bool openWith, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window with a std editor

OpenWithSpecific ( uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file with a specific editor

Private Methods

Method Description
Open ( bool newFile, bool openWith, uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Method Details

FileDocumentManager() public method

public FileDocumentManager ( FileNode node ) : System
node FileNode
return System

Open() public method

Open a file using the standard editor
public Open ( System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
logicalView System.Guid /// In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of /// logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class ///
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
return int

Open() public method

Open a file in a document window with a std editor
public Open ( bool newFile, bool openWith, System.Guid logicalView, IVsWindowFrame &frame, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
logicalView System.Guid /// In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of /// logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class ///
frame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
return int

Open() public method

Open a file in a document window
public Open ( bool newFile, bool openWith, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
logicalView System.Guid /// In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of /// logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class ///
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
return int

Open() public method

Open a file in a document window with a std editor
public Open ( bool newFile, bool openWith, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
return int

OpenWithSpecific() public method

Open a file with a specific editor
public OpenWithSpecific ( uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
editorFlags uint /// Specifies actions to take when opening a specific editor. Possible editor flags are defined /// in the enumeration Microsoft.VisualStudio.Shell.Interop.__VSOSPEFLAGS ///
editorType System.Guid Unique identifier of the editor type
physicalView string /// Name of the physical view. If null, the environment calls MapLogicalView on the editor /// factory to determine the physical view that corresponds to the logical view. In this case, null does not specify /// the primary view, but rather indicates that you do not know which view corresponds to the logical view ///
logicalView System.Guid /// In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of /// logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class ///
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
return int