enthought / enthought/traitsui
InstanceEditor should use standard traits adaptation rather than rolling its own
Open
component: core
difficulty: intermediate
priority: low
type: enhancement
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Traits already has methods for adapting values from one type to another. We should use those.
This would likely require having the `InstanceEditor` have its own adaptation manager (with a sensible default) and some refactoring of `InstanceChoice` as an `Adapter`.
Low priority, but potentially powerful because it allows multiple adapters to be used, with a standard way of selecting them.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.