EditorFactory Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides an abstract base class for other editor factories that support a single physical view.

This API is not CLS-compliant. The CLS-compliant alternative is [None.].

System.Object
  Microsoft.VisualStudio.TestTools.Vsip.EditorFactory

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

[CLSCompliantAttribute(false)]
public abstract class EditorFactory : IVsEditorFactory

The EditorFactory type exposes the following members.

  NameDescription
Protected methodEditorFactoryInitializes a new instance of the EditorFactory class.
Top

  NameDescription
Protected propertyEditorCaptionGets the caption that is appended to the file name to create the display name for this editor.
Protected propertyGuidCmdUIReturns a GUID that indicates which menu and toolbars will be displayed when the editor window is active.
Protected propertyVSServiceProviderGets the service provider.
Top

  NameDescription
Protected methodCloseReleases all cached interface pointers and cancels any event sinks.
Protected methodCreateEditorWhen overridden in a derived class, creates and returns the editor panel for the specified data.
Protected methodCreateEditorInstanceUsed internally by the editor factory framework to initialize this EditorFactory object.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
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 methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMapLogicalViewMaps a logical view to a physical view.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSetSiteInitializes an editor in the environment.
Protected methodShouldOpenDocumentDetermines whether the specified document is a test and therefore should be opened.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIVsEditorFactory.CloseInfrastructure. Closes the editor and releases all resources.
Explicit interface implemetationPrivate methodIVsEditorFactory.CreateEditorInstanceInfrastructure. Used internally by the editor factory framework to initialize this EditorFactory object.
Explicit interface implemetationPrivate methodIVsEditorFactory.MapLogicalViewInfrastructure. Maps the specified logical view to the actual physical view.
Explicit interface implemetationPrivate methodIVsEditorFactory.SetSiteInitializes an editor in the environment.
Top

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

Community Additions

Show: