It is not the type of the current class but the type of the custom editor where you want eg. to replace the integer field with a slider Continue reading...