Bug 515290 - [SysML 1.4] Rate & Continuous don't show the rate on the diagram
Summary: [SysML 1.4] Rate & Continuous don't show the rate on the diagram
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: SysML (show other bugs)
Version: 0.10.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Benoit Maggi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 06:20 EDT by Johan Van Noten CLA
Modified: 2017-04-27 03:22 EDT (History)
1 user (show)

See Also:


Attachments
SysML1.4-Figure 11.11 (32.93 KB, image/png)
2017-04-27 03:18 EDT, Benoit Maggi CLA
no flags Details
SysML1.4-Figure 11.12 (30.08 KB, image/png)
2017-04-27 03:19 EDT, Benoit Maggi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Van Noten CLA 2017-04-14 06:20:19 EDT
Environment Neon.3 + SysML 1.4 Nightly

I don't seem to be able to visualize the rate info contained in the Continuous or Rate stereotypes on the Activity Diagram. According to the SysML 1.4 spec in section 11.4, this would be the appropriate visualisation.

Didn't try, but I guess it is the same for Probability.
Comment 1 Benoit Maggi CLA 2017-04-27 03:18:25 EDT
Created attachment 268028 [details]
SysML1.4-Figure 11.11

Example on how rate should be displayed
Comment 2 Benoit Maggi CLA 2017-04-27 03:19:32 EDT
Created attachment 268029 [details]
SysML1.4-Figure 11.12

An example on how probability should be displayed
Comment 3 Benoit Maggi CLA 2017-04-27 03:22:57 EDT
Yes the problem is also present for probability

Figure 11.11 shows the expected output for rate
Figure 11.12 shows the expected output for probability

I didn't manage to display the value while testing user option in activity diagram.
So I guess a simple css won't work.

One solution may be to create a custom parser/labelprovider to override the default behavior