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:
- add state 'waitforeditmode'
- add transition state e.g. 'clockmode' waitforeditmode buttons.bottomrightpressed trigger
- add new event bottomrightreleased buttons interface
- add transition trigger buttons.bottomrightreleased waitforeditmode clockmode.
- 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
Post a Comment