#**##parse("$lang/default:statechart/import.vm" )
#**#
#**##if( !$statechartClassConstructor )
#*   *#public ${className}()
#*   *#{
#*   *#   initStateChart ();
#*   *#}
#*   *#
#**##end
#**#private FReactive myFReactive;
#**#
#**#public boolean alwaysTrue()
#**#{
#**#   return true;
#**#}
#**#   
#**#public synchronized void notifyMe()
#**#{
#**#   notify ();
#**#}
#**#
#**#public synchronized void waitForResultForEvent(FEvent event)
#**#{
#**#   while (!event.getHasResult ())
#**#   {
#**#      try
#**#      {
#**#         wait ();
#**#      }
#**#      catch (InterruptedException e) {}
#**#   }
#**#}
#**#
#**#public FReactive getFReactive()
#**#{
#**#   return myFReactive;
#**#}
#**#   
#**#public void initStateChart()
#**#{
#**#   myFReactive = new FReactive ();
#**#   myFReactive.setHandler (this);
#**#   FComplexState $name = myFReactive.makeComplexState ("$name", null, null, null);
#**#   myFReactive.setCurrent ($name);
#**#$!children##
#**#$!transitions##
#**#   myFReactive.enqueueEvent (new FEvent (FReactive.INIT_EVENT_PREFIX + "$name" ), FReactive.INTERNAL_EVENT);
#**###TODo seen '+ "A"'???
#**##if( $statechart.isSpawningOwnThread() )
#*   *#   myFReactive.start ();
#**##end
#**#}
#**##parse("$!{style}statechart/statechartHook.vm" )
#**#$!methods##
