Bug 110796 - GraphicalNodeEditpolicy should be extensible so that non-IElementTypes can be listed in the popups
Summary: GraphicalNodeEditpolicy should be extensible so that non-IElementTypes can be...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P1 enhancement
Target Milestone: 1.0   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2005-09-27 09:47 EDT by Cherie Revells CLA
Modified: 2010-07-19 12:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cherie Revells CLA 2005-09-27 09:47:13 EDT
A user may want to add their own custom items to the popup menu when a 
connector handle is dragged from source to target (or vice versa).  The 
GraphicalNodeEditPolicy is not easily extended to do this.  Non-IElementTypes 
should be supported more easily in this popup.  To handle this better, I think 
I should change how CreateUnspecifiedTypeConnectionRequest is used.
Comment 1 Cherie Revells CLA 2005-11-14 19:28:10 EST
Purpose: 
Bugzilla#110796 GraphicalNodeEditpolicy should be extensible so that non-
IElementTypes can be listed in the popups 
- Modified GraphicalNodeEditPolicy so that subclasses could add menu items to 
the connector handles popups that are not IElementTypes. 
- Created a JUnit to test this. 

Activities: 
Bugzilla#110796 gmf_head cmahoney 051114 GraphicalNodeEditpolicy should be 
extensible so that non-IElementTypes can be listed in the popups 

Code Reviewed by: 
Steve 

How tested: 
- Adhoc connector handle and connector creation tests. 

Launching org.eclipse.gmf.tests.runtime.diagram.ui 

OK, Runs:        71, Fails:        0, Errors:        0, 
org.eclipse.gmf.tests.runtime.diagram.ui, Time:        103.64 

Comment 2 Richard Gronback CLA 2008-08-13 13:06:03 EDT
[target cleanup] 1.0 M3 was the original target milestone for this bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:30:08 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug