itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
173 stars 84 forks source link

Replace SText ParseTreeConstructorFragment with new SerializerFragment #397

Closed andreasmuelder closed 5 years ago

andreasmuelder commented 8 years ago

In GenerateSText.mwe2, replace the old Serializer API with the new one:

fragment = parseTreeConstructor.ParseTreeConstructorFragment {}

with

fragment = serializer.SerializerFragment auto-inject {
    generateStub = false
  }

This has some side effects on the STextResource when auto-serializing feature is enabled (for example during refactorings), SCTResourceTests are failing.

tkutz commented 5 years ago

Fixed with PR https://github.com/Yakindu/statecharts/pull/2189