google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Inability to specify history without a transition #573

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are circumstances when I might want to do a certain action on transition 
to history, as opposed to transition to the default start state. In this case I 
need to be able to create a substate called H{} that has an entry action. 
Currently a 'reserved warning' error is raised in this context.

class X {
  sm {
    S1 {

      e -> S1a.H;
      S1a{
         H {entry / {blah{}} }
        S1a1{} }
      S1b{f -> S1a.H; }
    }
  }
}

It should be possible to specify H by itself

Original issue reported on code.google.com by TimothyCLethbridge on 28 May 2014 at 3:51