Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 302853 - [Papyrus Model Explorer] MoDisco browser integration
Summary: [Papyrus Model Explorer] MoDisco browser integration
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 318416 318428 335834
Blocks:
  Show dependency tree
 
Reported: 2010-02-15 08:32 EST by Nicolas Bros CLA
Modified: 2012-03-28 05:12 EDT (History)
1 user (show)

See Also:


Attachments
patch (10.81 KB, patch)
2010-02-15 08:34 EST, Nicolas Bros CLA
no flags Details | Diff
fixes IllegalStateException: Cannot modify resource set without a write transaction (11.25 KB, patch)
2010-03-23 12:41 EDT, Nicolas Bros CLA
rschnekenburger: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2010-02-15 08:32:35 EST
Hello,

I have implemented automatic refresh of the MoDisco model browser when one of the underlying resources changes. This change is available in the latest MoDisco nightly (http://www.eclipse.org/gmt/modisco/downloads/).

I also modified the MoDisco-Papyrus adapter so that it doesn't reload the model anymore  after each change (patch attached).
Comment 1 Nicolas Bros CLA 2010-02-15 08:34:12 EST
Created attachment 159098 [details]
patch
Comment 2 Thibault Landré CLA 2010-02-16 05:40:57 EST
Thanks for your patch. 
Cédric, I let you work on this patch (your code ;) )
Comment 3 Nicolas Bros CLA 2010-03-23 12:41:26 EDT
Created attachment 162784 [details]
fixes IllegalStateException: Cannot modify resource set without a write transaction

Here is another patch that fixes "java.lang.IllegalStateException: Cannot modify resource set without a write transaction".
It makes the MoDisco Browser use the EditingDomain from Papyrus.
Comment 4 Patrick Tessier CLA 2011-02-08 09:38:13 EST
I seems to be ok  for the refresh and write transaction