Share via


ModelingEditorFactory Members

Include Protected Members
Include Inherited Members

Provides support for the modeling editor factory, which enables the Visual Studio shell to obtain an editor for a specific file type. 

The ModelingEditorFactory type exposes the following members.

Constructors

 

Name

Description

Protected method

ModelingEditorFactory

Initializes a new instance of the ModelingEditorFactory class.

Top

Methods

 

Name

Description

Public method

Close

Releases all cached interface pointers and unregisters any event synchronizations.

Protected method

CreateDocData

Overloaded. Creates a document in memory.

Protected method

CreateDocView

Creates a document in memory.

Public method

CreateEditorInstance

Creates a modeling editor.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

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.)

Protected method

GetDocData

Gets a document.

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.)

Protected method

HandleEditorCreationException

Handles an exception if one occurs when an additional modeling editor is created.

Protected method

IsDocDataSupported

Verifies whether a document of a specific format can be used in the modeling editor.

Public method

MapLogicalView

Overloaded. Maps a logical view to a physical view.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

OnAfterCloseSolution

Notifies listening clients that the modeling editor has closed.

Public method

OnAfterLoadProject

Notifies listening clients that the project has loaded.

Public method

OnAfterOpenProject

Notifies listening clients that the project has opened.

Public method

OnAfterOpenSolution

Notifies listening clients that the modeling editor has opened.

Public method

OnBeforeCloseProject

Notifies listening clients that the project is about to be closed.

Public method

OnBeforeCloseSolution

Notifies listening clients that the modeling editor is about to be closed.

Public method

OnBeforeUnloadProject

Notifies listening clients that the project is about to be unloaded.

Public method

OnQueryCloseProject

Queries listening clients as to whether the project can be closed.

Public method

OnQueryCloseSolution

Notifies listening clients that the modeling editor has closed.

Public method

OnQueryUnloadProject

Queries listening clients as to whether the project can be unloaded.

Public method

SetSite

Sets the service provider from which to access shell services.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

CancelEditorCreate

Gets the value of the cancelEditorCreate flag. If this value is larger than 0, this property prevents the modeling editor from being created and sets this flag to 0.

Protected property

Flags

Gets a list of flags, which define how the modeling editor is created.

Protected property

ServiceProvider

Gets the service provider that retrieves Visual Studio services.

Top

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace