Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumscreate diagram file by GMF
https://www.eclipse.org/forums/index.php/mv/msg/515752/1098881/#msg_1098881
i create diagram file from one .ecore file by GMF. I want make label for my connection. for this, i add label to 'polyline connection' in .gmpgraph but this added label or even other changes on 'Figure Descriptor' of my connection doesn't present in diagram file!for example i change 'Line kind' feature of 'polyline connection' from 'line-Solid' to 'line-DashDotDot', but this values doesn't cause any difference!
second my question is about creating of instance from features of class.'Figure Descriptor' of my class in .gmfgraph contains one rectangle and 'child accesses' related to it's features. but i don't know how use from feature in created diagram file! when i draw one object from my classes in created diagram file, and want change name of this object i get this error:" An error has occurred. See error log for more details.
org/eclipse/gmf/runtime/gef/ui/internal/parts/CellEditorEx".
can you help me?!]]>Mahsa P2013-08-31T21:06:10-00:00Re: create diagram file by GMF
https://www.eclipse.org/forums/index.php/mv/msg/515752/1100004/#msg_1100004
I Solved my problems.
Quote:
i create diagram file from one .ecore file by GMF. I want make label for my connection. for this, i add label to 'polyline connection' in .gmpgraph but this added label or even other changes on 'Figure Descriptor' of my connection doesn't present in diagram file!for example i change 'Line kind' feature of 'polyline connection' from 'line-Solid' to 'line-DashDotDot', but this values doesn't cause any difference!
: for solving the this problem, i add one 'label mapping' in .gmfmap for each link mapping and set it's featurs.
and for Quote:
second my question is about creating of instance from features of class.'Figure Descriptor' of my class in .gmfgraph contains one rectangle and 'child accesses' related to it's features. but i don't know how use from feature in created diagram file! when i draw one object from my classes in created diagram file, and want change name of this object i get this error:" An error has occurred. See error log for more details.
org/eclipse/gmf/runtime/gef/ui/internal/parts/CellEditorEx".
: for this error i update ADT from 16.0.1 to 22.0.5. My ADT and my android had conflict and android>SDK location isn't seted! i update my ADT and set android sdk location and this error is solved
I hope this report be useful for every one have these problem:)]]>Mahsa P2013-09-02T14:14:07-00:00