Bug 448636 - [Palettes] Stereotypes to Apply addition within Aspect Action should be limited to logical choices
Summary: [Palettes] Stereotypes to Apply addition within Aspect Action should be limit...
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 07:39 EDT by matthieu perin CLA
Modified: 2017-09-08 09:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthieu perin CLA 2014-10-24 07:39:19 EDT
Hi, steps to see the bug:
* Create a Profile with 3 stereotypes.
* Make one of the stereotype inherits from another.
* Create a Model and import the Profile.
* Create a custom Palette using the Profile.
* Create a tool that use the Stereotype that inherit from another one.
* When selecting the tool, select the "Set list of applied stereotypes" in the "Aspect Action", and then add some stereotype in the "Stereotype to Apply" zone.

The list here propose again the already applied Stereotype (!), and also propose to apply the other stereotype which is not part of the tool. 

But it also propose the stereotype that as some heritage, that might be a solution to solve Bug 448609 - [Palette Customization] Make "Aspect Action" available for inherited properties of stereotypes.

Solution proposed:
Limit the possible set of stereotype to add to the list of applied stereotypes (because we can have multiple applied Stereotype using tools on tools) and the Stereotypes they inherit from.