[umbrello] [Bug 145181] Cannot define a system boundary for an use case

Robert Hairgrove bugzilla_noreply at kde.org
Thu Aug 13 07:47:15 BST 2020


https://bugs.kde.org/show_bug.cgi?id=145181

--- Comment #7 from Robert Hairgrove <code at roberthairgrove.com> ---
Here are my ideas for implementing this feature:

1. There should be a checkbox under the "General" property page for a use case
diagram with text "Show system boundary". In the XMI file, use case diagrams
already have the Boolean attribute "showpackage" which seems to be unused --
this could be utilized to store the value of the option. Otherwise, an
additional attribute could be defined: "showsystem".

2. If there is an eclosing folder, the name of the folder will be used as the
system name. Otherwise, either the name of the current XMI file, or simply the
word "System" will be used.

3. In the case that an actor is positioned inside the bounding box of use cases
which would be used to draw the rectangle, an error message (warning) is shown
when the properties dialog is closed advising the user to move the actor
widgets outside of the rectangle. No boundary is shown. After moving an actor,
if it is possible to show the use case, and the option is checked, the box is
automatically drawn. Alternatively, the bounding rectangle could be shown as a
gray or red dotted or dashed line to show the user where it would be drawn.

4. Code which controls dragging or resizing the actor and use case (presumably
in the mouseMove event of the diagram or scene?) should prevent the widgets
from crossing the system boundary if it is already being shown.

Before attempting a solution, it would be nice to have some feedback or
additional ideas here. I think that after thirteen (!) years, this could
definitely be implemented with relatively little effort.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list