Move createObject from EditCtrl to editUtil