Freigeben über


StandardVsModelingDiagramView Class

 

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

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

Inheritance Hierarchy

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

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod StandardVsModelingDiagramView(ModelBusAdapter, ModelBusReference)

Constructor

Properties

Name Description
System_CAPS_pubproperty Adapter

ModelBusAdapter instance that created and owns this ModelBusView(Inherited from ModelBusView.)

System_CAPS_pubproperty Diagram

Exposes the Diagram object represented by this DSL based ModelBusView.

System_CAPS_pubproperty IsOperational

Indicates if any ModelBusView manipulation APIs can be called on this instance.(Inherited from VsModelingView.)

System_CAPS_pubproperty ViewReference

Reference identifier used to create this ModelBusView object(Inherited from ModelBusView.)

System_CAPS_pubproperty VSDiagramView

Exposes the VSDiagramView that hosts the Diagram object wrapped by this ModelBusView as a Form control inside Visual Studio.

Methods

Name Description
System_CAPS_pubmethod Close()

Closes the WindowFrame represented by this ModelBusView. Does not accomodate persistance of DocData associated with this ModelBusView.(Inherited from VsModelingView.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Hide()

Hides the WindowFrame represented by this ModelBusView. The underlying view container is still in memory.(Inherited from VsModelingView.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Open()

Opens/attaches to the underlying editor object represented by this ModelBusView.(Inherited from VsModelingView.)

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

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

System_CAPS_pubmethod Show()

Activates the WindowFrame represented by this ModelBusView and sets focus on it(Inherited from VsModelingView.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace

Return to top