InterfaceObserverSupport doesn't work

42 views
Skip to first unread message

Mark Hoffmann

unread,
May 13, 2013, 11:50:20 AM5/13/13
to yakind...@googlegroups.com
Hi,

As mentioned in the docs, I added InterfaceObserverSupport=true to the GeneralFeatures, but I never get generated code like documented on your support pages.
I want to write some Eclipse Databinding Observable for my statemachine to propagate the changes to my data model instance using databinding.

What did I missed?

Thank you,
Mark


Markus Mühlbrandt

unread,
May 14, 2013, 8:23:01 AM5/14/13
to yakind...@googlegroups.com
Hello Mark,

the interfaces for observer support are only generated for outgoing events. If you have no outgoing events in your statechart the observer support is not generated.
There is a bug in the current release, which thereby shows that if an event has no type specified, the generated code can not be compiled. This bug is already fixed
and the fix will be included in the next release. As a workaround set the type of outgoing events to 'void'.

Regards
Markus
Reply all
Reply to author
Forward
0 new messages