port node_editor to use ui.edit_data()

- easier to change the code and reduce the code dupliation than to
  write the specs for this object.