Typed opt-in for custom editor state owned by a delegated row. Custom controls call RowContext::admitEdit before changing an unfinished draft. Opaque widget caches are not cloned or reset by the host. All operations run on the UI thread.
More...
#include <virtual_rows.hpp>
|
|
virtual | ~VirtualRowEditParticipant ()=default |
| | Release only the participant's own state.
|
| virtual bool | unfinished () const noexcept=0 |
| virtual std::expected< void, TreeError > | beforeLeave ()=0 |
|
virtual void | retire () noexcept |
| | Retire the participant after its row identity has closed; never commit/cancel backend work.
|
Typed opt-in for custom editor state owned by a delegated row. Custom controls call RowContext::admitEdit before changing an unfinished draft. Opaque widget caches are not cloned or reset by the host. All operations run on the UI thread.
◆ beforeLeave()
| virtual std::expected< void, TreeError > portals::VirtualRowEditParticipant::beforeLeave |
( |
| ) |
|
|
pure virtual |
- Returns
- Admission to hide the row, or a typed refusal before visibility/focus changes. This nonblocking preflight must not mutate the tree/model or commit/cancel input.
◆ unfinished()
| virtual bool portals::VirtualRowEditParticipant::unfinished |
( |
| ) |
const |
|
pure virtualnoexcept |
- Returns
- Whether draft, validation or admitted work still requires this exact row assignment.
The documentation for this class was generated from the following file: