Export (0) Print
Expand All

SimpleEditorView Class

The abstract class that represents a generalized simple editor view.

This API is not CLS-compliant. 


Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

public abstract class SimpleEditorView : IOleCommandTarget, 
	IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, IVsWindowPaneCommit, IOleComponent

The SimpleEditorView type exposes the following members.

Protected methodSimpleEditorViewInitializes a new instance of SimpleEditorView for the supplied text buffer.

Protected propertyBufferGets or sets the text buffer.
Protected propertyComponentIdGets or sets the component ID of the editor view.
Protected propertyComponentManagerGets or sets the component manager for this view.
Protected propertyMenuCommandService
Protected propertySiteGets or sets the IServiceProvider for this view.

Public methodClosePaneCloses the window and unregisters the component.
Public methodCommitPendingEditCommits any changes made to the file.
Public methodCreatePaneWindowCreates the window.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecExecutes the specified command.
Protected methodExecCommandExecutes specific commands.
Public methodFContinueMessageLoopCalled during each iteration of the message loop.
Public methodFDoIdleCalled to do idle time tasks.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFPreTranslateMessageCalled to process or modify the message before it is translated and dispatched.
Public methodFQueryTerminateCalled when the component manager wishes to know whether the view is in a state in which it can terminate.
Public methodFReserved1Reserved method.
Public methodGetDefaultSizeGets the default size of the window.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHwndGetWindowGets a window associated with the component.
Public methodIsSupportedDetermines whether the toolbox user supports the referenced data object.
Public methodItemPickedSends notification that an item in the toolbox has been selected (by clicking the mouse or by pressing ENTER).
Public methodLoadViewStateWhen implemented in a derived class, loads the view state of the window pane.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnActivationChangeCalled when a new object is being activated.
Public methodOnAppActivateNotifies the component whenever the host application is activated or deactivated.
Public methodOnEnterStateNotifies the view when the application enters or exits a given state.
Public methodOnLoseActivationNotifies the active view that it has lost its active status because the host or another component has become active.
Protected methodQueryCommandStatusGets the status of the specified command.
Protected methodQueryParameterListGets the parameters for a command.
Public methodQueryStatusGets the status of the specified commands.
Public methodSaveViewStateSaves the loaded view state.
Public methodSetInfoSets the information in the status bar to reflect this view.
Public methodSetSiteInitializes this view.
Public methodTerminateCalled by the component manager when it wishes to terminate the view's registration.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTranslateAcceleratorHandles the translation of special navigation keys.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft