Refs #1969: Replaced GenerateValuesTask by a CyAction, in order to solve the issue where input dialogs created by number mapping generators are blocked by the task monitor’s dialog, locking the UI. Also the input dialogs are now created in the EDT.

(cherry picked from commit 04c88c93678888735129331779cbecf4221b97c1)