|GMF set & get View Location [message #1118388]
||Fri, 27 September 2013 11:03
| serhat gezgin
Registered: January 2013
I need get location (x,y) of node on diagram. Couse when i regenerate diagram i want to put this node to same location (i want to store location to model.)
I must transform one of my element via java as;
TextInput newElement = FormFactory.eINSTANCE.createTextInput();
parent.getOwnedObject().add(ECollections.indexOf(parent.getOwnedObject(), element, 0), newElement);
when i create newElement i want to set its location to element's location.
So i want to ask u how can i get view location and set view location ?
[Updated on: Fri, 27 September 2013 13:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01512 seconds