Merge lp:~tapaal-contributor/tapaal/constants-blink-1853902 into lp:tapaal
Proposed by
Peter Haahr Taankvist
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jiri Srba | ||||
Approved revision: | 1036 | ||||
Merged at revision: | 1039 | ||||
Proposed branch: | lp:~tapaal-contributor/tapaal/constants-blink-1853902 | ||||
Merge into: | lp:tapaal | ||||
Diff against target: |
230 lines (+73/-5) 6 files modified
src/dk/aau/cs/model/tapn/Constant.java (+9/-0) src/pipe/gui/graphicElements/tapn/TimedInhibitorArcComponent.java (+1/-0) src/pipe/gui/graphicElements/tapn/TimedInputArcComponent.java (+12/-0) src/pipe/gui/graphicElements/tapn/TimedPlaceComponent.java (+7/-2) src/pipe/gui/graphicElements/tapn/TimedTransportArcComponent.java (+12/-1) src/pipe/gui/widgets/ConstantsPane.java (+32/-2) |
||||
To merge this branch: | bzr merge lp:~tapaal-contributor/tapaal/constants-blink-1853902 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jiri Srba | Approve | ||
Peter Haahr Taankvist (community) | Needs Resubmitting | ||
Review via email: mp+376477@code.launchpad.net |
Commit message
Make constants blink when selected in the side panel
To post a comment you must log in.
There is a problem if you move fast through constants, so that at the end some constants
say highlighted in blue, even though they are not selected. To reproduce, open webserver.tapm
example net, selection periodB constant and then quickly press four time arrow up, so that we move through the other constants. Now there are several blue names, even if they are not "deadline".
Also, the blinking is not very visible as it only changes colour. I would suggest to clear and redraw the text (not only the colour) when it is blinking (like in the simulation mode when we select a transition), so that the change is visually more noticable.