Community
Participate
Working Groups
The DiagramModelingAssistantProvider returns the NoteAttachment relationship too aggresively. It should check to see that the source edit part is an instance of INoteable, and if so call it's canAttachNote() method. If it isn't a INoteable, then it should return empty list. Will attach patch.
Created attachment 27783 [details] DiagramModelingAssistantProvider.patch
Purpose: Bugzilla 111383 DiagramModelingAssistantProvider contributes Notes too aggressively - Mindaugas provided patch, " The DiagramModelingAssistantProvider returns the NoteAttachment relationship too aggresively. It should check to see that the source edit part is an instance of INoteable, and if so call it's canAttachNote() method. If it isn't a INoteable, then it should return empty list. " - Renamed INoteable to INotable and moved to a public package. - Added JUnit for this scenario: NoteTests.testConnectorHandleForNoteAttachment Activities: bugzilla 111383 gmf_head sshaw 051005 DiagramModelingAssistantProvider contributes Notes too aggressively Code Reviewed by: Steve How tested: Adhoc tests with connector handles to see if note attachment shows up. JUnit Tests: Launching org.eclipse.gmf.tests.runtime.diagram.ui OK, Runs: 58, Fails: 0, Errors: 0, org.eclipse.gmf.tests.runtime.diagram.ui, Time: 54.312 Impact on QE: n/a Impact on Doc: n/a Impact on Build: n/a
Resolved, see comments I just entered.
[GMF Restructure] Bug 319140 : product GMF and component UI was the original product and component for this bug