impl of method draw editor complete