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

Bug 315953

Summary: [ComponentD] Can't create a link from a Note to any Element
Product: [Modeling] GMF-Tooling Reporter: Christian Waniek <chris.waniek>
Component: SamplesAssignee: Elena Shaverdova <eshaverdova>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Stacktrace of 'Unhandled event loop exception'
none
fixes the subj borlander: iplog+, borlander: review+

Description Christian Waniek CLA 2010-06-07 07:29:08 EDT
Build Identifier: 

1. I have a Component diagram.
2. I add a note (the note from the top of the palette next to the zoom-out button).
3. I want to create a link from this note to another element in my diagram by using the arrow tool which appears when hover above the note (the arrow with the small rectangle).
4. When I move the mouse above any element I get a lot of 'Unhandled eventloop exceptions' (see attachments for stacktrace)

I also tried this with a ClassD but here it works.

Reproducible: Always
Comment 1 Christian Waniek CLA 2010-06-07 07:29:56 EDT
Created attachment 171255 [details]
Stacktrace of 'Unhandled event loop exception'
Comment 2 Christian Waniek CLA 2010-06-07 07:36:19 EDT
(In reply to comment #0)
> Build Identifier: 
> 
> 1. I have a Component diagram.
> 2. I add a note (the note from the top of the palette next to the zoom-out
> button).
> 3. I want to create a link from this note to another element in my diagram by
> using the arrow tool which appears when hover above the note (the arrow with
> the small rectangle).
> 4. When I move the mouse above any element I get a lot of 'Unhandled eventloop
> exceptions' (see attachments for stacktrace)
> 
> I also tried this with a ClassD but here it works.
> 
> Reproducible: Always

I forgot:
Maybe this is an GMF Bug. If so, please let me know so I can create a Bugzilla for GMF.
Comment 3 Elena Shaverdova CLA 2010-06-08 11:47:33 EDT
Created attachment 171424 [details]
fixes the subj
Comment 4 Michael Golubev CLA 2010-06-08 11:49:54 EDT
Comment on attachment 171424 [details]
fixes the subj

reviewed, minor problems corrected: missed xmlGenerated tag for extsension, wrong (duplicate) contexts for the newly added EditPartProvider
Comment 5 Michael Golubev CLA 2010-06-08 11:52:04 EDT
Patch reviewed, and committed to CompD with minor changes: 
- added xmlGenerated tag for extension, 
- removed duplicate contexts for the newly added EditPartProvider

CompD regenerated, this patch also affects SeqD where the same U2TGraphicalNodeEditPolicy is added. 

However, as we don't have resources for SeqD now, the SeqD will wait its own batch regeneration.