Bug 125389 - Make ConnectionHandleTool API
Summary: Make ConnectionHandleTool API
Status: RESOLVED WONTFIX
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 enhancement
Target Milestone: 1.0   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on: 125387
Blocks:
  Show dependency tree
 
Reported: 2006-01-26 16:05 EST by Min Idzelis CLA
Modified: 2008-08-13 13:07 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 Min Idzelis CLA 2006-01-26 16:05:27 EST
I would like to subclass ConnectionHandleTool so that when a new target node is created at the same time as a connection I can put the target node into edit mode.  

ConnectionHandleTool is currenctly internal, so I request that it be made API. Also, I'd like to have a API-way for an edit part to specify the ConnectionHandleTool to use for connections.
Comment 1 Steven R. Shaw CLA 2006-01-26 17:47:33 EST
Assigning to Cherie for consideration...
Comment 2 Steven R. Shaw CLA 2006-02-21 16:23:06 EST
Cherie - have you decided what to do with this enhancement request?
Comment 3 Cherie Revells CLA 2006-02-21 16:52:01 EST
The behavior being requested is actually the same as in Bugzilla#113594.  I think we should do this by default in GMF.  Also, we don't want this just for the ConnectionHandleTool, because the user can create a new connection and target shape using a palette connection tool as well.  The fix should be in ConnectionCreationTool.  

I don't think it is a real easy fix. Currently, it does this:  
selectAddedObject(viewer, DiagramCommandStack.getReturnValues(endCommand));  
Therefore, I may need to change what the return values of the command is.  I'm not sure how that is determined.

Mindaugas:  Do you have a fix already?
Comment 4 Min Idzelis CLA 2006-02-22 13:11:27 EST
Sorry, I don't have a fix for this. 
Comment 5 Steven R. Shaw CLA 2006-02-27 11:04:35 EST
This will be resolved in context to bugzilla 113594
Comment 6 Richard Gronback CLA 2008-08-13 13:07:00 EDT
[target cleanup] 1.0 M5 was the original target milestone for this bug
Comment 7 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug