Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325231 - Multiple root nodes in domain navigator.
Summary: Multiple root nodes in domain navigator.
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian Waniek CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 07:30 EDT by Christian Waniek CLA
Modified: 2012-12-11 15:11 EST (History)
0 users

See Also:


Attachments
screenshot of buggy navigator (11.21 KB, image/jpeg)
2010-09-14 07:31 EDT, Christian Waniek CLA
no flags Details
patch for the commons project (23.84 KB, patch)
2010-09-14 07:33 EDT, Christian Waniek CLA
no flags Details | Diff
patch for the def project (5.75 KB, patch)
2010-09-14 07:34 EDT, Christian Waniek CLA
no flags Details | Diff
screenshot of navigator after having applied the patch (3.95 KB, image/jpeg)
2010-09-14 07:35 EDT, Christian Waniek CLA
no flags Details
patch - re-generated diagram plugins (186.14 KB, patch)
2010-09-14 07:36 EDT, Christian Waniek CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Waniek CLA 2010-09-14 07:30:29 EDT
Build Identifier: 

U2T enables you to browse the uml-Model-File in the Project Explorer. But unfortunately this goes with a small bug. If you expand the model file you see several nodes with the root package, one for each diagram. (see attached screenshot).

I created a patch to solve this problem.

Reproducible: Always
Comment 1 Christian Waniek CLA 2010-09-14 07:31:50 EDT
Created attachment 178801 [details]
screenshot of buggy navigator
Comment 2 Christian Waniek CLA 2010-09-14 07:33:04 EDT
Created attachment 178803 [details]
patch for the commons project

This patch implements the domain navigator in the common-project.
Comment 3 Christian Waniek CLA 2010-09-14 07:34:19 EDT
Created attachment 178804 [details]
patch for the def project

This patch changes the gmfgen-files in the def-project, so the domain navigator isn't generated anymore
Comment 4 Christian Waniek CLA 2010-09-14 07:35:36 EDT
Created attachment 178805 [details]
screenshot of navigator after having applied the patch
Comment 5 Christian Waniek CLA 2010-09-14 07:36:49 EDT
Created attachment 178807 [details]
patch - re-generated diagram plugins

This patch shows the changes after having regenerated the diagram plugins.
Comment 6 Christian Waniek CLA 2011-01-17 11:21:58 EST
I fixed this bug.

I have moved all functionality of the domain model navigator in the common plugin. Therefore isn't the domain model navigator no longer generated for each diagram.