Property | Type | Description | |
---|---|---|---|
DomainClassId | global::System.Guid |
Method | Description | |
---|---|---|
OnViewMouseEnter ( global::Microsoft.VisualStudio.Modeling.Diagrams pointArgs ) : void |
Override to provide the right mouse action when trying to create links on the diagram
|
|
OnViewMouseEnter ( DslDiagrams::DiagramPointEventArgs pointArgs ) : void |
Override to provide the right mouse action when trying to create links on the diagram
|
|
OrmLanguageDiagram ( DslModeling::Partition partition ) |
Constructor
|
|
OrmLanguageDiagram ( DslModeling::Store store ) |
Constructor
|
|
OrmLanguageDiagram ( global::Microsoft.VisualStudio.Modeling store ) |
Constructor
|
|
SubscribeCompartmentItemsEvents ( ) : void |
Subscribe to events fired when compartment items changes.
|
|
UnsubscribeCompartmentItemsEvents ( ) : void |
Unsubscribe to events fired when compartment items changes.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose of connect actions.
|
|
InitializeShapeFields ( global::System.Collections.Generic.IList |
Initialize shape decorator mappings. This is done here rather than in individual shapes because decorator maps are defined per diagram type rather than per shape type.
|
|
InitializeShapeFields ( global |
Initialize shape decorator mappings. This is done here rather than in individual shapes because decorator maps are defined per diagram type rather than per shape type.
|
|
OnChildConfiguring ( global::Microsoft.VisualStudio.Modeling.Diagrams child, bool createdDuringViewFixup ) : void |
Called during view fixup to configure the given child element, after it has been created. Custom code for choosing the shapes attached to either end of a connector is called from here. |
|
OnChildConfiguring ( DslDiagrams::ShapeElement child, bool createdDuringViewFixup ) : void |
Called during view fixup to configure the given child element, after it has been created. Custom code for choosing the shapes attached to either end of a connector is called from here. |
|
OnMouseActionDeactivated ( ) : void |
Overridable method to manage the mouse deactivation. The default implementation snap stoolbox selection back to regular pointer after using a custom connect action.
|
|
SelectedToolboxItemSupportsFilterString ( global::Microsoft.VisualStudio.Modeling.Diagrams activeView, string filter ) : bool |
Virtual method to provide a filter when to select the mouse action
|
|
SelectedToolboxItemSupportsFilterString ( DslDiagrams::DiagramView activeView, string filter ) : bool |
Virtual method to provide a filter when to select the mouse action
|
|
ShouldAddShapeForElement ( DslModeling::ModelElement element ) : bool |
Called during view fixup to ask the parent whether a shape should be created for the given child element. Always return true, since we assume there is only one diagram per model file for DSL scenarios. |
|
ShouldAddShapeForElement ( global::Microsoft.VisualStudio.Modeling element ) : bool |
Called during view fixup to ask the parent whether a shape should be created for the given child element. Always return true, since we assume there is only one diagram per model file for DSL scenarios. |
Method | Description | |
---|---|---|
CompartmentItemAdded ( object sender, DslModeling::ElementAddedEventArgs e ) : void |
Event for element added.
|
|
CompartmentItemAdded ( object sender, global::Microsoft.VisualStudio.Modeling e ) : void |
Event for element added.
|
|
CompartmentItemDeleted ( object sender, DslModeling::ElementDeletedEventArgs e ) : void |
Event for element deleted.
|
|
CompartmentItemDeleted ( object sender, global::Microsoft.VisualStudio.Modeling e ) : void |
Event for element deleted.
|
|
CompartmentItemPropertyChanged ( object sender, DslModeling::ElementPropertyChangedEventArgs e ) : void |
Event for element property changed.
|
|
CompartmentItemPropertyChanged ( object sender, global::Microsoft.VisualStudio.Modeling e ) : void |
Event for element property changed.
|
|
CompartmentItemRolePlayerChanged ( object sender, DslModeling::RolePlayerChangedEventArgs e ) : void |
Event for role-player changed.
|
|
CompartmentItemRolePlayerChanged ( object sender, global::Microsoft.VisualStudio.Modeling e ) : void |
Event for role-player changed.
|
|
CompartmentItemRolePlayerOrderChanged ( object sender, DslModeling::RolePlayerOrderChangedEventArgs e ) : void |
Event for role-player order changed.
|
|
CompartmentItemRolePlayerOrderChanged ( object sender, global::Microsoft.VisualStudio.Modeling e ) : void |
Event for role-player order changed.
|
|
CreateChildShape ( DslModeling::ModelElement element ) : DslDiagrams::ShapeElement | ||
CreateChildShape ( global::Microsoft.VisualStudio.Modeling element ) : DslDiagrams::ShapeElement | ||
GetEndShapesForConnector ( global::Microsoft.VisualStudio.Modeling.Diagrams connector ) : DslDiagrams::NodeShape[] |
Helper method to find shapes for either end of a connector by looking for shapes associated with either end of the relationship mapped to the connector.
|
|
GetEndShapesForConnector ( DslDiagrams::BinaryLinkShape connector ) : DslDiagrams::NodeShape[] |
Helper method to find shapes for either end of a connector by looking for shapes associated with either end of the relationship mapped to the connector.
|
|
GetSourceAndTargetForConnector ( global::Microsoft.VisualStudio.Modeling.Diagrams connector, global::Microsoft.VisualStudio.Modeling.Diagrams &sourceShape, global::Microsoft.VisualStudio.Modeling.Diagrams &targetShape ) : void | ||
GetSourceAndTargetForConnector ( DslDiagrams::BinaryLinkShape connector, DslDiagrams::NodeShape &sourceShape, DslDiagrams::NodeShape &targetShape ) : void | ||
OnConnectActionDeactivated ( object sender, global::Microsoft.VisualStudio.Modeling.Diagrams e ) : void |
Snap toolbox selection back to regular pointer after using a custom connect action.
|
|
OnConnectActionDeactivated ( object sender, DslDiagrams::DiagramEventArgs e ) : void |
Snap toolbox selection back to regular pointer after using a custom connect action.
|
protected InitializeShapeFields ( global::System.Collections.Generic.IList |
||
shapeFields | global::System.Collections.Generic.IList |
|
return | void |
protected InitializeShapeFields ( global |
||
shapeFields | global |
|
return | void |
protected OnChildConfiguring ( global::Microsoft.VisualStudio.Modeling.Diagrams child, bool createdDuringViewFixup ) : void | ||
child | global::Microsoft.VisualStudio.Modeling.Diagrams | |
createdDuringViewFixup | bool | |
return | void |
protected OnChildConfiguring ( DslDiagrams::ShapeElement child, bool createdDuringViewFixup ) : void | ||
child | DslDiagrams::ShapeElement | |
createdDuringViewFixup | bool | |
return | void |
protected OnMouseActionDeactivated ( ) : void | ||
return | void |
public OnViewMouseEnter ( global::Microsoft.VisualStudio.Modeling.Diagrams pointArgs ) : void | ||
pointArgs | global::Microsoft.VisualStudio.Modeling.Diagrams | |
return | void |
public OnViewMouseEnter ( DslDiagrams::DiagramPointEventArgs pointArgs ) : void | ||
pointArgs | DslDiagrams::DiagramPointEventArgs | |
return | void |
public OrmLanguageDiagram ( DslModeling::Partition partition ) | ||
partition | DslModeling::Partition | Partition where new element is to be created. |
public OrmLanguageDiagram ( DslModeling::Store store ) | ||
store | DslModeling::Store | Store where new element is to be created. |
public OrmLanguageDiagram ( global::Microsoft.VisualStudio.Modeling store ) | ||
store | global::Microsoft.VisualStudio.Modeling | Store where new element is to be created. |
protected SelectedToolboxItemSupportsFilterString ( global::Microsoft.VisualStudio.Modeling.Diagrams activeView, string filter ) : bool | ||
activeView | global::Microsoft.VisualStudio.Modeling.Diagrams | Currently active view |
filter | string | filter string used to filter the toolbox items |
return | bool |
protected SelectedToolboxItemSupportsFilterString ( DslDiagrams::DiagramView activeView, string filter ) : bool | ||
activeView | DslDiagrams::DiagramView | Currently active view |
filter | string | filter string used to filter the toolbox items |
return | bool |
protected ShouldAddShapeForElement ( DslModeling::ModelElement element ) : bool | ||
element | DslModeling::ModelElement | |
return | bool |
protected ShouldAddShapeForElement ( global::Microsoft.VisualStudio.Modeling element ) : bool | ||
element | global::Microsoft.VisualStudio.Modeling | |
return | bool |
public SubscribeCompartmentItemsEvents ( ) : void | ||
return | void |
public UnsubscribeCompartmentItemsEvents ( ) : void | ||
return | void |