Share via


SimpleEditorView Class

The abstract class that represents a generalized simple editor view.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Package.SimpleEditorView
    Microsoft.VisualStudio.Package.EditorControl

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public MustInherit Class SimpleEditorView _
    Implements IOleCommandTarget, IVsWindowPane, IVsToolboxUser, IVsStatusbarUser,  _
    IVsWindowPaneCommit, IOleComponent
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public abstract class SimpleEditorView : IOleCommandTarget, 
    IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, IVsWindowPaneCommit, IOleComponent
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class SimpleEditorView abstract : IOleCommandTarget, 
    IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, IVsWindowPaneCommit, IOleComponent
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type SimpleEditorView =  
    class
        interface IOleCommandTarget
        interface IVsWindowPane
        interface IVsToolboxUser
        interface IVsStatusbarUser
        interface IVsWindowPaneCommit
        interface IOleComponent
    end
public abstract class SimpleEditorView implements IOleCommandTarget, IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, IVsWindowPaneCommit, IOleComponent

The SimpleEditorView type exposes the following members.

Constructors

  Name Description
Protected method SimpleEditorView Initializes a new instance of SimpleEditorView for the supplied text buffer.

Top

Properties

  Name Description
Protected property Buffer Gets or sets the text buffer.
Protected property ComponentId Gets or sets the component ID of the editor view.
Protected property ComponentManager Gets or sets the component manager for this view.
Protected property MenuCommandService
Protected property Site Gets or sets the IServiceProvider for this view.

Top

Methods

  Name Description
Public method ClosePane Closes the window and unregisters the component.
Public method CommitPendingEdit Commits any changes made to the file.
Public method CreatePaneWindow Creates the window.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Exec Executes the specified command.
Protected method ExecCommand Executes specific commands.
Public method FContinueMessageLoop Called during each iteration of the message loop.
Public method FDoIdle Called to do idle time tasks.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FPreTranslateMessage Called to process or modify the message before it is translated and dispatched.
Public method FQueryTerminate Called when the component manager wishes to know whether the view is in a state in which it can terminate.
Public method FReserved1 Reserved method.
Public method GetDefaultSize Gets the default size of the window.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HwndGetWindow Gets a window associated with the component.
Public method IsSupported Determines whether the toolbox user supports the referenced data object.
Public method ItemPicked Sends notification that an item in the toolbox has been selected (by clicking the mouse or by pressing ENTER).
Public method LoadViewState When implemented in a derived class, loads the view state of the window pane.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnActivationChange Called when a new object is being activated.
Public method OnAppActivate Notifies the component whenever the host application is activated or deactivated.
Public method OnEnterState Notifies the view when the application enters or exits a given state.
Public method OnLoseActivation Notifies the active view that it has lost its active status because the host or another component has become active.
Protected method QueryCommandStatus Gets the status of the specified command.
Protected method QueryParameterList Gets the parameters for a command.
Public method QueryStatus Gets the status of the specified commands.
Public method SaveViewState Saves the loaded view state.
Public method SetInfo Sets the information in the status bar to reflect this view.
Public method SetSite Initializes this view.
Public method Terminate Called by the component manager when it wishes to terminate the view's registration.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TranslateAccelerator Handles the translation of special navigation keys.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Package Namespace