Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » create diagram file by GMF
create diagram file by GMF [message #1098881] Sat, 31 August 2013 21:06 Go to next message
Mahsa P is currently offline Mahsa P
Messages: 100
Registered: July 2013
Senior Member
Hello my friends
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?!
Re: create diagram file by GMF [message #1100004 is a reply to message #1098881] Mon, 02 September 2013 14:14 Go to previous message
Mahsa P is currently offline Mahsa P
Messages: 100
Registered: July 2013
Senior Member

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 Smile
I hope this report be useful for every one have these problem:)
Previous Topic:Problems occurred when invoking code from plug-in: "org.eclipse.jface"
Next Topic:Using GMF in an Eclipse e4 RCP editor
Goto Forum:
  


Current Time: Mon Sep 22 02:22:58 GMT 2014

Powered by FUDForum. Page generated in 0.01584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software