Bug 389247 - [Palettes] the current implementation bypass the command framework which brakes undo/redo
Summary: [Palettes] the current implementation bypass the command framework which brak...
Status: REOPENED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Mathieu Velten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 08:55 EDT by Mathieu Velten CLA
Modified: 2017-08-03 04:59 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Velten CLA 2012-09-11 08:55:39 EDT
Currently the various aspect tools that we can add to a palette entry are doing model modifications in post commit context instead of allowing to provide a command to chain.
This leads to various undo problems.
Comment 1 Mathieu Velten CLA 2012-10-25 07:30:48 EDT
An implementation has been committed some times ago on 0.8.X-EYY, to be backported.
Comment 2 Raphael Faudou CLA 2013-04-02 09:44:31 EDT
will be backported before M7
Comment 3 Mathieu Velten CLA 2013-04-10 07:18:09 EDT
backported, rev 10824.
Comment 4 Camille Letavernier CLA 2013-04-11 08:32:33 EDT
r10824 has introduced 2200 test regressions: https://hudson.eclipse.org/hudson/user/vlorenzo/my-views/view/Papyrus/job/papyrus-trunk-nightly-tests/972/testReport/

Reverted in r10839. Please feel free to resubmit this contribution when the regressions are fixed.
Comment 5 Mathieu Velten CLA 2013-04-11 08:35:16 EDT
Please don't revert like that, it is a pain : I need the hudson tests build if you want me to iterate on the bugs.