Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316980 - [Profile diagram] Extensions cannot be re-target to another meta-class (or another visual representation of the same meta-class)
Summary: [Profile diagram] Extensions cannot be re-target to another meta-class (or an...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 0.7.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 17:14 EDT by Ansgar Radermacher CLA
Modified: 2010-06-29 04:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ansgar Radermacher CLA 2010-06-15 17:14:38 EDT
Build Identifier: 

Assume that you have two stereotypes that extend the same meta-class. The user might want to have two representations of this meta-class in his diagram. However, the extension will always point at the first representation and cannot be re-directed.


Reproducible: Always

Steps to Reproduce:
1. Create two stereotypes
2. Add the same meta-class twice to your diagram
3. Let the two stereotype extend the meta-class (but visually point at different representants.
=> Extension points to one of these representants
Comment 1 Ansgar Radermacher CLA 2010-06-16 05:21:21 EDT
(In reply to comment #0)
> Build Identifier: 
> 
> Assume that you have two stereotypes that extend the same meta-class. The user
> might want to have two representations of this meta-class in his diagram.
> However, the extension will always point at the first representation and cannot
> be re-directed.
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Create two stereotypes
> 2. Add the same meta-class twice to your diagram
> 3. Let the two stereotype extend the meta-class (but visually point at
> different representants.
> => Extension points to one of these representants

Small correction/precision: creating the initial extension works well. It is just not possible to redirect the extension to another representation of the same meta-class (which is in particular problematic, if I need to reconstruct a diagram from the model)
Comment 2 Ansgar Radermacher CLA 2010-06-18 04:52:18 EDT
(In reply to comment #1)
> (In reply to comment #0)
> > Build Identifier: 
> > 
> > Assume that you have two stereotypes that extend the same meta-class. The user
> > might want to have two representations of this meta-class in his diagram.
> > However, the extension will always point at the first representation and cannot
> > be re-directed.
> > 
> > 
> > Reproducible: Always
> > 
> > Steps to Reproduce:
> > 1. Create two stereotypes
> > 2. Add the same meta-class twice to your diagram
> > 3. Let the two stereotype extend the meta-class (but visually point at
> > different representants.
> > => Extension points to one of these representants
> 
> Small correction/precision: creating the initial extension works well. It is
> just not possible to redirect the extension to another representation of the
> same meta-class (which is in particular problematic, if I need to reconstruct a
> diagram from the model)

Correction: The bug is a general problem of re-targeting extensions, i.e. it is also not possible to retarget to another meta-class
Comment 3 Vincent Lorenzo CLA 2010-06-29 04:50:47 EDT
Done in r2102