java - switching to time edit mode of digital watch in statechart diagram in eclipse -


i have question:

i'm dealing digitalwatch.sct state chart model right now.

when bottom right pressed @ least 1.5 seconds, digital watch should switch time editing mode.

how can manage it, kind of strategy or triggered event should do?

the event bottom right pressing "buttons.bottomrightpressed".

thank help.

even though don't know details of statechart model 'blindly' suggest following steps:

  1. add state 'waitforeditmode'
  2. add transition state e.g. 'clockmode' waitforeditmode buttons.bottomrightpressed trigger
  3. add new event bottomrightreleased buttons interface
  4. add transition trigger buttons.bottomrightreleased waitforeditmode clockmode.
  5. add transition trigger 'after 1500ms' waitforeditmode 'editmode'

of course there alternatives...

one more hint: if post questions regarding yakindu statechart tools it's user forum should answers without 4 month delay ;) ...


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -