Using grouped SWT widgets in GMF editor. [message #246627] |
Fri, 19 December 2008 06:28 |
Manvi Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hi all,
This is the first time i m posting a query. I am workin wit GMF 2.0.1, i hav
already designed an editor, its working fine. The elements in my domain
model "ecore model" are widgets like tabs, text box,combobox,checkbox....
the user drags n drops these elements , on to the canvas , defined as nodes.
As of now when they are dropped on to the canvas they appear like normal
rectangles, i want to make them look like actual SWT widgets. Moreover
whenever a widget is dragged and dropped on the canvas, it should hav a
"label (another swt widget assiciated with it by default)". the user of
editor should be able to set the label of the text box n other properties
through the properties view.n In the domain model " ecore model" label is an
attribute of class textbox itself.
So what changes should be done in .gmfgraph or
edit/model/diagram code to implement it. Is there any new gmf release that
directly supports this feature.
- Thanks a lot!!
|
|
|
Powered by
FUDForum. Page generated in 0.03261 seconds