Lumiera
0.pre.03
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/stage/test/test-element-access.hpp"
Mock implementation of the model::ElementAccess interface for testing without actual UI.
Definition at line 97 of file test-element-access.hpp.
Public Member Functions | |
RawResult | performAccessTo (UICoord::Builder &target, size_t) override |
Public Member Functions inherited from ElementAccess | |
virtual | ~ElementAccess () |
this is an interface | |
template<class TAR > | |
lib::Result< TAR & > | access (UICoord const &destination) |
Navigate the UI topology to access the designated component. More... | |
UICoord | locate_or_create (UICoord const &destination, size_t limitCreation=LUMIERA_MAX_ORDINAL_NUMBER) |
Navigate to the designated component, possibly create the element and parents. More... | |
Public Attributes | |
UICoord | existingPath |
the next query will fail unless it presents this Path | |
std::unique_ptr< model::Tangible > | response |
...and if acceptable, we record the last answer here | |
Additional Inherited Members | |
Protected Types inherited from ElementAccess | |
using | RawResult = lib::Variant< Types< model::Tangible *, Gtk::Widget * > > |
|
inlineoverridevirtual |
drill down according to coordinates, maybe create element
Implements ElementAccess.
Definition at line 119 of file test-element-access.hpp.
References UICoord::Builder::uiCoord().