Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327198 - Refresh diagrams content while adding elements on the model
Summary: Refresh diagrams content while adding elements on the model
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 05:38 EDT by Arnaud Dieumegard CLA
Modified: 2017-09-26 15:35 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Dieumegard CLA 2010-10-07 05:38:07 EDT
Build Identifier: Build id: 20100617-1415

I am creating some plugins for specific use in my Company.
Some of them contribute (by code: Java) to a model.
So elements are added to a model in a code way.
I was wondering if it is possible to add a functionnality to update automatically the diagrams according to the elements added in the model (update diagrams elements view to add new elements automatically).


Reproducible: Always
Comment 1 Ronan Bar CLA 2013-09-13 05:28:33 EDT
Surely there is an API for this as there exists a diagram refresh button in Papyrus?
Comment 2 Camille Letavernier CLA 2013-09-26 11:10:26 EDT
This is a different case. F5/Refresh diagram is for refreshing the graphical properties of displayed elements (Especially useful when manipulating stylesheets, because style properties can change, while the diagram itself remains unchanged)

Here, if I understand correctly, this is a request to automatically display new semantic elements on an existing diagram (e.g. you create a new Operation in a Class programatically, and it automatically gets displayed in the Class diagram).

There is currently no plan in Papyrus to support that.
Comment 3 Ronan Bar CLA 2013-10-01 10:47:25 EDT
Ah I see. It would be a bad idea to have diagrams automatically in sync with the model. I though the bug was about having an API to add the elements to the diagram, this exists I assume? This item should be closed I think.
Comment 4 Vincent Lorenzo CLA 2017-09-26 15:35:52 EDT
For an automatic update of a diagram, you should check the property "Sync with model" in the Appearance Tab of the property view.
I close the bug