Plugin settings displayed as checkbox or combobox

Here is a try to permit a more complex "Plugin settings" auto generated.
You could pass a list of expected values that will be displayed as a combobox or a checkbox (if true/false) instead of just a textbox...