I developed a prototype eclipse plugin for modelling statemachines which can be executed and animated on the brick.
Uses a Topcased generated modeller for modelling state actions and event conditions. Java code is generated using oaw.
A small statemachine framework executes the statemachine on the brick. Optionally the executed state is highlighted in the diagram. Communication is done with BT.
I don't think that the project can be used by someboby else but me, because of lack of documentation and the fact that it is a prototype. Still your comment to the approach might be valuable to me.

