[Chameleon-dev] [Bug 804] [Chameleon-Widget]ROIManagerMode widget in substract should be inactive when no ROI

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Nov 1 20:14:38 EST 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=804





------- Additional Comments From pspencer at dmsolutions.ca  2004-11-01 20:14 -------
it is not currently possible to set a widget as inactive, nor would it be
possible to change it from 'inactive' to 'active' in the case of the ROI tools
(because they just update the ROI image, they don't submit).

The button code does support a disabled state for widgets, but it has never been
tested or implemented.  It is likely that, at least in this case, we would have
to add quite a bit of javascript to:

* on load, test the number of ROIs and disable the 'subtract' mode tool
appropriately.

* do the same test on every change of the ROIs because they could be 'deleted'

* implement a generic 'event' mechanism in javascript.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list