summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-29 17:08:48 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-29 17:26:49 +0200
commita801155464cf479b3fbf30f27e3f51030d69ba14 (patch)
treed4c7fe4f8627ef42cfda2266bb8cfe8a9c3e41a5 /svtools/inc
parentd4e19a2394f58191b4d60f445988450142650679 (diff)
add introspection support for SvSimpleTable
This is the second part of the UI test tutorial. The tutorial shows how to add introspection support to a new vcl::Window based UI object. Change-Id: I2b3ed68d313749787869c7e85f2e27c9d01fff4a
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/uitest/uiobject.hxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/svtools/inc/uitest/uiobject.hxx b/svtools/inc/uitest/uiobject.hxx
index 93cfc156a47b..873c3d57dedf 100644
--- a/svtools/inc/uitest/uiobject.hxx
+++ b/svtools/inc/uitest/uiobject.hxx
@@ -11,6 +11,7 @@
class SvTreeListBox;
class SvTreeListEntry;
+class SvSimpleTable;
class TreeListUIObject : public WindowUIObject
{
@@ -61,4 +62,20 @@ private:
SvTreeListEntry* mpEntry;
};
+class SimpleTableUIObject : public TreeListUIObject
+{
+public:
+ SimpleTableUIObject(VclPtr<SvSimpleTable> xTable);
+
+ virtual StringMap get_state() override;
+
+ static std::unique_ptr<UIObject> createFromContainer(vcl::Window* pWindow);
+
+protected:
+ virtual OUString get_type() const override;
+
+private:
+ VclPtr<SvSimpleTable> mxTable;
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */