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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.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 | |
---|---|---|
StandardVsModelingDiagramView | Constructor |
Top
Properties
Name | Description | |
---|---|---|
Adapter | ModelBusAdapter instance that created and owns this ModelBusView (Inherited from ModelBusView.) | |
Diagram | Exposes the Diagram object represented by this DSL based ModelBusView. | |
IsOperational | Indicates if any ModelBusView manipulation APIs can be called on this instance. (Inherited from VsModelingView.) | |
ViewReference | Reference identifier used to create this ModelBusView object (Inherited from ModelBusView.) | |
VSDiagramView | Exposes the VSDiagramView that hosts the Diagram object wrapped by this ModelBusView as a Form control inside Visual Studio. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the WindowFrame represented by this ModelBusView. Does not accomodate persistance of DocData associated with this ModelBusView. (Inherited from VsModelingView.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Hide | Hides the WindowFrame represented by this ModelBusView. The underlying view container is still in memory. (Inherited from VsModelingView.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Open | Opens/attaches to the underlying editor object represented by this ModelBusView. (Inherited from VsModelingView.) | |
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).) | |
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>).) | |
Show | Activates the WindowFrame represented by this ModelBusView and sets focus on it (Inherited from VsModelingView.) | |
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.