Template method for getting the editor widget