VsModelingView Class

 

Supports ModelBusView creation and manipulation for a standard VS based DSL designer editor.

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 abstract class VsModelingView : ModelBusView
[CLSCompliantAttribute(false)]
public ref class VsModelingView abstract : ModelBusView
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type VsModelingView = 
    class
        inherit ModelBusView
    end
<CLSCompliantAttribute(False)>
Public MustInherit Class VsModelingView
    Inherits ModelBusView

Constructors

Name Description
System_CAPS_protmethod VsModelingView(ModelBusAdapter, ModelBusReference)

Constructor

Properties

Name Description
System_CAPS_pubproperty Adapter

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

System_CAPS_pubproperty IsOperational

Indicates if any ModelBusView manipulation APIs can be called on this instance.(Overrides ModelBusView.IsOperational.)

System_CAPS_pubproperty ViewReference

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

Methods

Name Description
System_CAPS_pubmethod Close()

Closes the WindowFrame represented by this ModelBusView. Does not accomodate persistance of DocData associated with this ModelBusView.(Overrides ModelBusView.Close().)

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.

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.(Overrides ModelBusView.Hide().)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Open()

Opens/attaches to the underlying editor object represented by this ModelBusView.(Overrides ModelBusView.Open().)

System_CAPS_pubmethod SetSelection(IEnumerable<ModelBusReference>)

Selects the elements identified by the referenes in this ModelBusView(Inherited from ModelBusView.)

System_CAPS_pubmethod SetSelection(ModelBusReference)

Selects the element identified by the reference in this ModelBusView(Inherited from ModelBusView.)

System_CAPS_pubmethod Show()

Activates the WindowFrame represented by this ModelBusView and sets focus on it(Overrides ModelBusView.Show().)

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