Community
Participate
Working Groups
org.eclipse.gmf.runtime.diagram.ui.tools.ConnectionCreationTool has protected method getElementType() to return elementType associated with that tool. CreationTool (used for shapes), on the other hand, has the same method, but with public access. ConnectionCreationTool should also allow public access to its elementType.
Created attachment 179873 [details] Patch
Attached the patch. For API compatibility, instead of just changing "protected" to "public" for getElementTyoe(), added a new public method to return getElementType(). Anthony, if it looks OK, I will commit it to to HEAD and R1_4_maintenance.
Does API tooling not complain with an error that you have added a new method and thus broken API compatibility? (i.e. update the plug-in version to 1.5.) . Please verify and if this is the case we cannot change in 1.4.2, only HEAD.
Created attachment 179993 [details] Patch API tooling does complain about added API, so I can't commit this to the maintenance stream. Since that's the case, I attached the patch that changes visibility of getElementType() method from protected to public, and increases version from 1.4.1 to 1.5.0. It will go to HEAD only.
Delivered to HEAD.