Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Use-case doubts
Use-case doubts [message #1780555] Tue, 23 January 2018 21:10 Go to next message
Rafal Kisiel is currently offline Rafal KisielFriend
Messages: 2
Registered: January 2018
Junior Member
Hi,
I want to enclose my use-cases in a rectangle with top left corner which specification and books mention about. There is a subject node on the palette but I can't get right shape. There's no topic on forum so I assume that there's a solution. Would you share with me how you cope with this?
I have another question. I've read in UML 2 for dummes that there is possibility to place scenarios on use-case diagram as instances of a use-case. It should looks like a regular use-case shape but its name should be underlined and as follows: ScenarioName:Use-caseName and connected with general use-case via dashed arrow. Is this supported by UML 2.5 and Papyrus?
Thanks for your time and answers.
Re: Use-case doubts [message #1780650 is a reply to message #1780555] Thu, 25 January 2018 09:44 Go to previous messageGo to next message
Ri Fr is currently offline Ri FrFriend
Messages: 134
Registered: July 2015
Senior Member
You can achieve what you want by placing text comments on the use case diagram. The rectangle is a system boundary and is used to show the scope of the use case model. Best practice for system boundary is to NOT use it. You will learn that in UML the most experienced and effective modelers use only a small part of UML... 80% of UML elements are for very specialized situations that you will not encounter when you are just beginning to use UML.
For more details on what I just typed read the very simple and short books "The elements of UML 2 style" and "Applying Use Cases: A Practical Guide (Addison-Wesley Object Technology Series)".
The golden rule for a good use case model: show only WHAT PEOPLE want to achieve WHAT RESULT. Show nothing on how the result is achieved (sequence diagrams are used to show how) and show nothing about what systems do. It's perfectly legal to show how and the systems in UML 2 use cases but it's not a good idea. The books explain why.

[Updated on: Thu, 25 January 2018 09:55]

Report message to a moderator

Re: Use-case doubts [message #1780664 is a reply to message #1780650] Thu, 25 January 2018 14:13 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

I agree with Richard Freggi's comments on this matter. "Applying Use Cases" is definitely a good read, and "Elements of UML2 style is useful - but, although not required, a knowledge of UML is definitely beneficial for the latter.

If you absolutely want to use the boundary (and I have met people who "absolutely" need it...), you best bet is to use a class, hide all its compartment save for name, scale it properly for use case, and make sure it's in the background. Note that this is a WORKAROUND and is NOT the right approach and I would NOT recommend a generalized use of that approach! However, I have had to take that approach in the past where it was the only solution I could find to address the client's requirement to show, on a single diagram, use cases from multiple systems in a "system of software systems" where UML was required by the client when SysML would have been a much better choice...

I would also like to mention note that sequence diagrams is one way to show the "how", activity diagrams is another one to do that. The choice of diagram to use will depend on many aspects, such as application domain, industry, client familiarity with diagrams, etc.


/Charles Rivet
#metoo [message #1780673 is a reply to message #1780555] Thu, 25 January 2018 16:06 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 479
Registered: May 2015
Location: Germany
Senior Member
beside Charles Rivet I also agree with Richard Freggi.
Re: #metoo [message #1780900 is a reply to message #1780673] Mon, 29 January 2018 17:41 Go to previous message
Rafal Kisiel is currently offline Rafal KisielFriend
Messages: 2
Registered: January 2018
Junior Member
Thank you for your replies. I really have to read that book you recommend.
Previous Topic:Is it possible to avoid Bug 530291 ?
Next Topic:Model synchronization?
Goto Forum:
  


Current Time: Thu Apr 18 03:48:01 GMT 2024

Powered by FUDForum. Page generated in 0.01855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top