Being able to extend state machines through classes (Single inheritance) #963

Open
vahdat-ab opened this Issue Jan 21, 2017 · 0 comments

Projects

None yet

1 participant

@vahdat-ab
Member

Umple allows to extend state machines through traits, but it still doesn't support extension through classes (normal single inheritance).
The merging algorithm has already been developed for merging state machines (coming from traits). It can be reused easily for this case.
Steps:

  1. state machines of a class must be merged with the ones coming from used traits.
  2. get the new set of state machines for the class (merged one)
  3. state machines from the previous step must be merged with the ones coming from superclasses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment