Ejemplo n.º 1
0
 private ModelElement GetSourceRolePlayerForLinkMappedByConfigurationSectionPropertyHasConfigurationSectionConnector(ConfigurationSectionPropertyHasConfigurationSectionConnector connector)
 {
     // Likewise, the source role player is the "owning" Configuration Section Group.
     return(connector.ParentShape.ModelElement);
 }
Ejemplo n.º 2
0
 private NodeShape GetSourceShapeForConfigurationSectionPropertyHasConfigurationSectionConnector(ConfigurationSectionPropertyHasConfigurationSectionConnector connector)
 {
     // Jump from the ConfigurationSection Property to its parent shape, i.e. the Configuration Section Group that contains it.
     // This will make the connection start at shape of the "owning" Configuration Section Group.
     return((NodeShape)connector.ParentShape);
 }