public void setChoices(Object key, Object[] values)
    {
        Assert.isNotNull(key);
        Assert.isTrue(values.length > 0);
        // no action when called from super ctor
        if (fValueMap != null) {
            fValueMap.put(key, values);
            if (key.equals(fKey))
                fCurrentChoice = getChoices()[0];
            setResolved(true);
        }
    }
Sets the values of this variable under a specific key.

@param key    the key for which the values are valid
@param values the possible values of this variable
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLVariable.java