C# 클래스 RIM.VSNDK_Package.EditorPane

상속: Microsoft.VisualStudio.Shell.WindowPane, IOleComponent, IVsDeferredDocView, IVsLinkedUndoClient
파일 보기 프로젝트 열기: blackberry/VSPlugin 1 사용 예제들

공개 메소드들

메소드 설명
EditorPane ( Microsoft.VisualStudio.Shell.ServiceProvider service, VSNDK_PackagePackage package, string fileName, IVsTextLines textBuffer ) : System

Constructor that calls the Microsoft.VisualStudio.Shell.WindowPane constructor then our initialization functions.

OnInterveningUnitBlockingLinkedUndo ( ) : int

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

Initialize ( ) : void
OnClose ( ) : void

Event on close of the editor pane

비공개 메소드들

메소드 설명
AddCommand ( IMenuCommandService mcs, System.Guid menuGroup, int cmdID, EventHandler commandEvent, EventHandler queryEvent ) : void

Helper function used to add commands using IMenuCommandService

GetResourceString ( string resourceName ) : string

This method loads a localized string based on the specified resource.

IOleComponent ( uint dwWhich, uint dwReserved ) : IntPtr
IOleComponent ( MSG pMsg ) : int
IOleComponent ( int fPromptUser ) : int
IOleComponent ( uint grfidlef ) : int
IOleComponent ( uint uReason, IntPtr pvLoopData, MSG pMsgPeeked ) : int
IOleComponent ( uint dwReserved, uint message, IntPtr wParam, IntPtr lParam ) : int
IOleComponent ( ) : void
IOleComponent ( IOleComponent pic, int fSameComponent, OLECRINFO pcrinfo, int fHostIsActivating, OLECHOSTINFO pchostinfo, uint dwReserved ) : void
IOleComponent ( int fActive, uint dwOtherThreadID ) : void
IOleComponent ( uint uStateID, int fEnter ) : void
IVsDeferredDocView ( System.Guid &pGuidCmdId ) : int

Assigns out parameter with the Guid of the EditorFactory.

IVsDeferredDocView ( IntPtr &ppUnkDocView ) : int
NewWindow ( ) : void

Method to create a new windows

NotifyDocChanged ( ) : void

Gets an instance of the RunningDocumentTable (RDT) service which manages the set of currently open documents in the environment and then notifies the client that an open document has changed

OnNewWindow ( object sender, EventArgs e ) : void

Create a new window

OnQueryNewWindow ( object sender, EventArgs e ) : void

On create of new window

OnQueryViewCode ( object sender, EventArgs e ) : void
OnViewCode ( object sender, EventArgs e ) : void

Event that fires on view of code

RegisterIndependentView ( bool subscribe ) : void

Registers an independent view with the IVsTextManager so that it knows the user is working with a view over the text buffer. This will trigger the text buffer to prompt the user whether to reload the file if it is edited outside of the environment.

ViewCode ( ) : void

Method to viewcode

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EditorPane() 공개 메소드

Constructor that calls the Microsoft.VisualStudio.Shell.WindowPane constructor then our initialization functions.
public EditorPane ( Microsoft.VisualStudio.Shell.ServiceProvider service, VSNDK_PackagePackage package, string fileName, IVsTextLines textBuffer ) : System
service Microsoft.VisualStudio.Shell.ServiceProvider
package VSNDK_PackagePackage Our Package instance.
fileName string
textBuffer IVsTextLines
리턴 System

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

OnClose() 보호된 메소드

Event on close of the editor pane
protected OnClose ( ) : void
리턴 void

OnInterveningUnitBlockingLinkedUndo() 공개 메소드

public OnInterveningUnitBlockingLinkedUndo ( ) : int
리턴 int