Bug 493394 - Adding element to diagram has no effect if element is already in diagram but hidden
Summary: Adding element to diagram has no effect if element is already in diagram but ...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-05-11 02:50 EDT by Dennis Hendriks CLA
Modified: 2016-05-19 09:14 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 Dennis Hendriks CLA 2016-05-11 02:50:35 EDT
Assume you have a Sirius diagram for an Ecore and you want to add an existing class to the diagram. You can drag the class from the Model Explorer to the canvas, or use the Add Existing Elements tool. However, in both cases, adding the class seemed to have no effect. I started to think this was a bug in the diagram editor.

But then a colleague indicated to me that the class was already on the diagram, but hidden. Currently, Sirius provides no feedback to me at all. Especially if you didn't create the diagram yourself, you might have no idea that the element is present but hidden. Even more so if you don't use the hide feature that often.

I propose to unhide the element (class in this case) when it is re-added, i.e. when it is added again when already present but hidden.

Alternatively, maybe even better, the user could be informed that the element is already present in the diagram but currently hidden, and asked whether to unhide the element, or keep it hidden.
Comment 1 Julien Dupont CLA 2016-05-19 09:14:19 EDT
Thanks Dennis for your feedback and your proposal.

Regards,