|Re: How to set default values of model elements in GMF based Editor? [message #511017 is a reply to message #511000]
||Fri, 29 January 2010 14:50
Originally posted by: murbieta.gpi.com.ar|
Hi, it likely can solved using "Feature Seq Initializer". This tool
allows you to set default values to objects properties using OCL.
There is an example at GMF tutorial 2 under section mapping definition.
> I have created a Diagram Editor (with palette) using GMF. When I drag a
> element from palette I want some properties of this element to be set.
> These default property values will come from ToolEntry of the palette.
> Please can someone point me to the code where I should change to achieve
> this. Please let me know if the query is not clear.
Powered by FUDForum
. Page generated in 0.01954 seconds