Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315953 - [ComponentD] Can't create a link from a Note to any Element
Summary: [ComponentD] Can't create a link from a Note to any Element
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: Elena Shaverdova CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 07:29 EDT by Christian Waniek CLA
Modified: 2012-12-11 15:12 EST (History)
1 user (show)

See Also:


Attachments
Stacktrace of 'Unhandled event loop exception' (4.87 KB, text/plain)
2010-06-07 07:29 EDT, Christian Waniek CLA
no flags Details
fixes the subj (234.32 KB, patch)
2010-06-08 11:47 EDT, Elena Shaverdova CLA
borlander: iplog+
borlander: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.