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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -