Added method for creating parameter editors, which can be overridden by subclasses of the GenericEditor