Community
Participate
Working Groups
Papyrus Mars RC1 The "New Relationship" menu actions in the Model Explorer context menu show dialogs for selection of the target element. There are two distinct problems with these dialogs: * unlike the selection dialogs in the reference property editors in the Properties view, there is no filter field to help scale the browsing of large models * many relationships (dependencies especially) support multiple "targets", but the dialog allows only a single selection for these * many relationships (dependencies especially) support multiple "sources", but the menu actions only take one of the selected elements as the source (I might have expected them to be disabled for multiple selections if they weren't going to operate on all selected elements)
(In reply to Christian W. Damus from comment #0) > Papyrus Mars RC1 > > The "New Relationship" menu actions in the Model Explorer context menu show > dialogs for selection of the target element. There are two distinct > problems with these dialogs: > > * unlike the selection dialogs in the reference property editors in the > Properties > view, there is no filter field to help scale the browsing of large models Agree, filtering is needed (as well as sorting alphabetically), work is ongoing > * many relationships (dependencies especially) support multiple "targets", > but > the dialog allows only a single selection for these > * many relationships (dependencies especially) support multiple "sources", > but > the menu actions only take one of the selected elements as the source (I > might > have expected them to be disabled for multiple selections if they weren't > going to operate on all selected elements) Regarding multiple sources/targets, there are shortcomings in the ElementType framework only allowing requests to have one source and one target. Until this is fixed, multiple selection will be disabled. The fix for this is planned for Mars SR1.
(In reply to Patrik Nandorf from comment #1) > > Regarding multiple sources/targets, there are shortcomings in the > ElementType framework only allowing requests to have one source and one > target. Until this is fixed, multiple selection will be disabled. The fix > for this is planned for Mars SR1. Or just compose multiple command to add multiple sources/targets to a relationship. I would expect a change in GMF to require new API, which might rather wait for Neon?
New Gerrit change created: https://git.eclipse.org/r/67513
New Gerrit change created: https://git.eclipse.org/r/67543