irvanariyanto / mpas

Automatically exported from code.google.com/p/mpas
1 stars 0 forks source link

Disabling buttons #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
certain buttons should be disabled in some situations
for example, find path button should be disabled when algorithm is running
stop button should be disabled unless algorithm is running, etc.

Original issue reported on code.google.com by OferA...@gmail.com on 25 Mar 2011 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by OferA...@gmail.com on 26 Mar 2011 at 12:37

GoogleCodeExporter commented 8 years ago
change the "find path" to "start"
when click "start" to make it disable

when clicking step to change to start button to resume

Original comment by lironka...@gmail.com on 26 Mar 2011 at 1:11

GoogleCodeExporter commented 8 years ago
still left:
2. when clicking step to change to start button to resume

need to create the functionality for this first(Amit)

Original comment by lironka...@gmail.com on 30 Apr 2011 at 3:42

GoogleCodeExporter commented 8 years ago
more stuff:
1.stop should be disabled when algorithm isn't running
2.while algorithm is running the following buttons should be disabled (or the 
alternative is to make sure that if they are pressed the algorithm will stop):
a.clear map.
b.clear path.
c.clear positions
d.random positions.
e.random map

3.other stuff should be canceled while the algorithm is running:
a. grid and agents slider (changing the grid can be done while the algorithm is 
running which causes the entire scenario to disappear)
b. number of agents slider
c.all the combo boxes
d.radio buttons
e. clicking on the grid should be disabled
4. grid map menu should be disabled (can't allow loading maps & scnearios while 
algorithm is running)

Original comment by OferA...@gmail.com on 30 Apr 2011 at 7:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Stop button should be available in Step mode

Original comment by lironka...@gmail.com on 10 May 2011 at 2:48