GenModelJava.sgen 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. GeneratorModel for yakindu::java {
  2. statechart TrafficLightWaiting {
  3. feature Outlet {
  4. targetProject = "org.yakindu.sct.examples.generator.java.trafficlight"
  5. targetFolder = "src-gen"
  6. }
  7. feature licenseHeader {
  8. licenseText = "/**
  9. * Copyright (c) 2011 committers of YAKINDU and others.
  10. * All rights reserved. This program and the accompanying materials
  11. * are made available under the terms of the Eclipse Public License v1.0
  12. * which accompanies this distribution, and is available at
  13. * http://www.eclipse.org/legal/epl-v10.html
  14. *
  15. * Contributors:
  16. * committers of YAKINDU - initial API and implementation
  17. */"
  18. }
  19. feature GeneralFeatures {
  20. EventBasedStatemachine = true
  21. InterfaceObserverSupport = false
  22. TimerService = true
  23. RuntimeService = true
  24. }
  25. //create a dump file of execution model (sexec)
  26. //This feature is disabled by default if it's not declared explicit in a generator model.
  27. feature Debug {
  28. dumpSexec = false
  29. }
  30. //This feature reduces the amount of generated methods.
  31. //The FunctionInlining is enabled by default if it's not declared explicit in a generator model.
  32. feature FunctionInlining {
  33. inlineChoices = true
  34. inlineEnterSequences = true
  35. inlineEntryActions = true
  36. inlineExitActions = true
  37. inlineExitSequences = true
  38. inlineReactions = true
  39. }
  40. }
  41. }