Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333187 - [Dawn] Provide integration for Ecore Tools
Summary: [Dawn] Provide integration for Ecore Tools
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.dawn (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Martin Fluegge CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2010-12-24 05:58 EST by Martin Fluegge CLA
Modified: 2011-06-23 03:37 EDT (History)
0 users

See Also:


Attachments
Patch v1 (2.26 KB, patch)
2010-12-28 09:50 EST, Martin Fluegge CLA
no flags Details | Diff
Patch v2 (3.98 KB, patch)
2011-04-15 12:42 EDT, Martin Fluegge CLA
no flags Details | Diff
Patch v3 - bugfix (6.08 KB, patch)
2011-04-15 15:18 EDT, Martin Fluegge CLA
no flags Details | Diff
Patch v4 (2.85 KB, patch)
2011-05-09 16:51 EDT, Martin Fluegge CLA
no flags Details | Diff
Tests v1 (77.42 KB, patch)
2011-05-18 14:30 EDT, Martin Fluegge CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fluegge CLA 2010-12-24 05:58:17 EST
The Ecore Tools provide a nice set of tools to create ecore models. Currently they are focused on file system persistence. To allow provide a better integration with CDO tools should be CDOified using Dawn.
Comment 1 Martin Fluegge CLA 2010-12-28 09:45:52 EST
The first state is available from CVS 'org.eclipse.emf.cdo.dawn.ecoretools.diagram.dawn'. The next step will be to customized the creation wizard to make it look like the original one.
Comment 2 Martin Fluegge CLA 2010-12-28 09:50:47 EST
Created attachment 185860 [details]
Patch v1

The plugin is not yet officially integrated into any feature. So everyone who wants to try the current state of developments needs to apply the attached patch and update the target platform accordingly.
Comment 3 Martin Fluegge CLA 2011-02-20 15:58:19 EST
I started to implement the overwritten wizard for the Ecore Tools. The wizard now looks the the Ecore Tools native one. It already works to initialize a diagram from an existing resource which is selected from the repository. Creating a new one it still to do but I do not expect much work left in this area.
There is some polish here and there, but I am quite optimistic that this stuff can be finished soon.
Comment 4 Martin Fluegge CLA 2011-02-20 16:00:41 EST
Committed revision 7161
Comment 5 Martin Fluegge CLA 2011-03-15 11:23:49 EDT
I enabled the creation of new resources. Now the wizard behaves quite similar to the original one. Only the selection of the reosurce folder is different. I will care for it in the next iteration.
Comment 6 Martin Fluegge CLA 2011-03-15 11:24:02 EDT
Committed revision 7538
Comment 7 Martin Fluegge CLA 2011-03-16 16:39:06 EDT
Enabled Ecore Tools features
Comment 8 Martin Fluegge CLA 2011-03-16 16:39:15 EDT
Committed revision 7546
Comment 9 Martin Fluegge CLA 2011-04-15 12:42:32 EDT
Created attachment 193391 [details]
Patch v2

Attached a patch for enabling the feature. This will be committed if it is ensured that declaring the diagram host bundle in the cspec is the preferred way to handle fragments and host-bundle.
Comment 10 Martin Fluegge CLA 2011-04-15 15:18:55 EDT
Created attachment 193401 [details]
Patch v3 - bugfix

For an unknown reason the ecore tools implementation overwrites the behavior of the EPackageCanonicalEditingPolicy and deletes all semantic information from the edges. This lead to trouble with the extended editor. The EP also is not registred as canonical editingpolicy, but as "pseudocanonical". I needed to change the EPprovider to overwrite the original behavior.
Comment 11 Martin Fluegge CLA 2011-04-15 15:22:04 EDT
Patch v3 - Committed revision 7621
Comment 12 Martin Fluegge CLA 2011-05-09 16:51:37 EDT
Created attachment 195147 [details]
Patch v4

Publish feature
Comment 13 Martin Fluegge CLA 2011-05-09 16:52:16 EDT
Committed revision 7668:
- trunk/releng/org.eclipse.emf.cdo.releng
Comment 14 Martin Fluegge CLA 2011-05-09 16:52:20 EDT
Committed revision 7669:
- trunk/features/org.eclipse.emf.cdo.dawn.ecoretools-feature
- trunk/features/org.eclipse.emf.cdo.dawn.sdk-feature
Comment 15 Martin Fluegge CLA 2011-05-09 16:52:33 EDT
Committed revision 7668
Comment 16 Martin Fluegge CLA 2011-05-18 14:30:19 EDT
Created attachment 196032 [details]
Tests v1

Attached tests.
Comment 17 Martin Fluegge CLA 2011-05-18 14:31:49 EDT
Committed revision 7816
Comment 18 Martin Fluegge CLA 2011-05-18 14:57:58 EDT
Finished and closed
Comment 19 Eike Stepper CLA 2011-05-18 16:51:10 EDT
(In reply to comment #18)
> Finished and closed

Definitely not closed, yet, but resolved. Resolved bugs get closed when the next release is published and a new cycle initialized ;-)
Comment 20 Martin Fluegge CLA 2011-05-19 01:55:28 EDT
Yeah, you are right. Use the wrong words. But at least I hit the right button ;)

State of this one certainly is "resolved fixed"
Comment 21 Eike Stepper CLA 2011-06-23 03:37:41 EDT
Available in R20110608-1407