private ModelElement GetSourceRolePlayerForLinkMappedByConfigurationSectionPropertyHasConfigurationSectionConnector(ConfigurationSectionPropertyHasConfigurationSectionConnector connector) { // Likewise, the source role player is the "owning" Configuration Section Group. return(connector.ParentShape.ModelElement); }
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); }