Book a Demo

Author Topic: MDG Add Transition  (Read 2934 times)

Daniel P

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
MDG Add Transition
« on: August 26, 2015, 05:43:26 pm »
In my MDG, I have a stereotype that inherits the metaclass Transition (from State). When I try to add a new transition using the API - addNew(name, "Transition") and then setStereotype("MyTransition") it doesn't work -> the new connector is not a transition

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG Add Transition
« Reply #1 on: August 26, 2015, 06:26:46 pm »
Try to create <yourMDG>::Transition instead of just Transition.

q.