Add the appropriate widget for the parameters