Feature request #7319
Create class for each Edit type
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | |||
| Category: | Vectors | ||
| Pull Request or Patch supplied: | No | Resolution: | |
| Easy fix?: | No | Copied to github as #: | 16309 |
Description
With addition of editable option for all edit types (#6562), the "immutable" edit type is useless.
Right now, edit types are saved as numbers in the the project. Just removing the immutable edit type, will lead to a switch of one in the list, and will bring a compatibility issue with older project.
Nathan's idea is to create a class for each edit type, with its id (the old enum value) and the 3 methods: createEditor, setValue, getValue.
Associated revisions
History
#1
Updated by Matthias Kuhn over 11 years ago
- Status changed from Open to Closed
Fixed in changeset ea91b6fe4a21ff741de918a11d0f2a26a291c1e2.