Freigeben über


StandardVsModelingDiagramView Class

Supports a typical single-diagram DSL based ModelBusView hosted inside Visual Studio.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Integration.ModelBusView
    Microsoft.VisualStudio.Modeling.Integration.Shell.VsModelingView
      Microsoft.VisualStudio.Modeling.Integration.Shell.StandardVsModelingDiagramView

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class StandardVsModelingDiagramView _
    Inherits VsModelingView
[CLSCompliantAttribute(false)]
public class StandardVsModelingDiagramView : VsModelingView
[CLSCompliantAttribute(false)]
public ref class StandardVsModelingDiagramView : public VsModelingView
[<CLSCompliantAttribute(false)>]
type StandardVsModelingDiagramView =  
    class
        inherit VsModelingView
    end
public class StandardVsModelingDiagramView extends VsModelingView

The StandardVsModelingDiagramView type exposes the following members.

Constructors

  Name Description
Public method StandardVsModelingDiagramView Constructor

Top

Properties

  Name Description
Public property Adapter ModelBusAdapter instance that created and owns this ModelBusView (Inherited from ModelBusView.)
Public property Diagram Exposes the Diagram object represented by this DSL based ModelBusView.
Public property IsOperational Indicates if any ModelBusView manipulation APIs can be called on this instance. (Inherited from VsModelingView.)
Public property ViewReference Reference identifier used to create this ModelBusView object (Inherited from ModelBusView.)
Public property VSDiagramView Exposes the VSDiagramView that hosts the Diagram object wrapped by this ModelBusView as a Form control inside Visual Studio.

Top

Methods

  Name Description
Public method Close Closes the WindowFrame represented by this ModelBusView. Does not accomodate persistance of DocData associated with this ModelBusView. (Inherited from VsModelingView.)
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 GetDocView Calling GetDocView will attach this VsModelingView instance to the ModelingDocView instance represented by it. The caller needs to explicitly call Show() to make the WindowFrame visible in VS, if was not already visible. (Inherited from VsModelingView.)
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 Hide Hides the WindowFrame represented by this ModelBusView. The underlying view container is still in memory. (Inherited from VsModelingView.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Opens/attaches to the underlying editor object represented by this ModelBusView. (Inherited from VsModelingView.)
Public method SetSelection(ModelBusReference) Finds the ShapeElement corresponding to this reference and Selects it on the design surface. If the reference resolves to a ModelElement which is not a Shape, an attempt is made to find the corresponding Shape for it. (Overrides ModelBusView.SetSelection(ModelBusReference).)
Public method SetSelection(IEnumerable<ModelBusReference>) Finds the ShapeElement corresponding to each of the references and Selects all of them on the design surface. If any reference resolves to a ModelElement which is not a Shape, an attempt is made to find the corresponding Shape for it. (Overrides ModelBusView.SetSelection(IEnumerable<ModelBusReference>).)
Public method Show Activates the WindowFrame represented by this ModelBusView and sets focus on it (Inherited from VsModelingView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.Modeling.Integration.Shell Namespace