Hi my friends,
I have one .ecore file. this file contains some classes(Eclass) and enumerations(EEnum).for example this .ecore file contains one Eclass with 'Requirement' name and one EEnum with 'ReqSource' name. I want to create diagram file from it which contained enumerations.Specifically, I want to create diagram from .ecore file that i could select one of EEnum's values as one sample of 'Requirement' but when i create .gmftool or .gmfgraph, these enumeration isn't shown!
i attached a picture from diagram which i want to create and my .ecore file too. my question is: how create .gmftool, .gmfgrapf and other GMF models which contained enumerations!
to display values in you diagram you need a label in the graphical model at the position at which value shall be displayed. In the mapping model you can then connect the feature of the meta-model element with the label in the graphical diagram definition.