-
assigned issue to
Restrict associations for implementation classes
When having associations with implementation classes the following should not be possible:
- self references
- containment on the implementation class side
- navigability only from implementation to the class
Comments (8)
-
reporter -
reporter References issue
#117: Restricted creation of associations. Associations between two ImplementationClassViews not possible.→ <<cset 45d46d83e553>>
-
reporter - changed status to resolved
Resolved issue
#117:- Preventing navigable assocations from Implementation to Class
- The selector to change the association end is not shown on the implementation class side.
Unfortunately, this means that deleting on that side is not possible anymore, but it seems quite hard to only show part (one literal) of an enum.
→ <<cset 784ce42796a7>>
-
I checked, it's good :)
To delete the association on the ImplementationClass side, a solution could be to add a new enum with just DELETE and to use this enum just for the case where the association end is on a ImplementationClass. I think it's not fundamental for the user but if you want, you can do easily :)
-
reporter Thanks for checking. That's true. Do you think that would be more user-friendly?
-
Yes, I think it's more user-friendly :) The user expects to see what it's possible to do in displaying this menu and maybe can't understand immediately why it's not possible to delete this kind of association.
-
reporter References issue
#117: Allowed delete on the end belonging to an Implementation Class.→ <<cset 41991b13bde3>>
-
reporter Thanks! It's merged now. It was actually quite easy to reuse the enum and just use one of the values :)
- Log in to comment