|Copy paste not working with the new Juno + gmf [message #901434]
||Sun, 12 August 2012 06:23
| sowmya Mising name
Registered: July 2009
I am using our own copy paste implementation to copy the elements on the diagram as we wanted it to make a copy of the elements and also the model contents for that element. (GMF provides only copy by reference - makes a copy of the diagram and creates only a reference to the same model content)
To add my own commands I've used the same global-actions extensions for copy, paste, cut. - GlobalActionHandlerProvider
The feature was working fine with Eclipse 3.7.1 and the latest gmf installed through the update site (gmf 1.5). But with the new version of Eclipse 4.2 Juno and the latest version of gmf (gmf 1.6) installed through the update site this feature does not seem to work any more. The copy by reference provided by gmf also does not seem to work. On performing copy paste of the elements on the diagram, the editor is marked dirty but there are no changes on the editor and no changes in the model as well.
Update site details : From the eclipse help menu -> Install new Software
In the Install window opened select for field Work With : All Available Sites -> Modelling -> Graphical Modeling Runtime SDK
Is there any additional steps to be performed in order to get the copy paste working on the new version of eclipse and gmf. Is anybody else also facing this issue ?
Any kind of suggestions would be helpful. Thanks .
Powered by FUDForum
. Page generated in 0.01794 seconds