Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325231

Summary: Multiple root nodes in domain navigator.
Product: [Modeling] GMF-Tooling Reporter: Christian Waniek <chris.waniek>
Component: SamplesAssignee: Christian Waniek <chris.waniek>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot of buggy navigator
none
patch for the commons project
none
patch for the def project
none
screenshot of navigator after having applied the patch
none
patch - re-generated diagram plugins none

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.