Hi,
I'm working on a StarUML extension, and I'm struggling to determine how to extract a binding relationship from the model, and subsequently the template parameter substitutions associated with that bind.
I thought it would be similar to the generalization case:
var generalizations = app.repository.getRelationshipsOf(elem, function (rel) {
return ((rel instanceof type.UMLGeneralization) && rel.source === elem)
})
return generalizations.map(function (gen) { return gen.target })
... but having a type.UMLBinding or something, however it looks like the types don't have anything like that. Can someone guide me in the right direction?
Thanks for your time,
Carl C.