17#include <com/sun/star/uno/Reference.hxx>
18#include <com/sun/star/uno/XInterface.hpp>
19#include <com/sun/star/uno/XComponentContext.hpp>
42 css::uno::Reference<css::uno::XComponentContext>
mxContext;
55 static void clearAll(std::unique_ptr<weld::TreeView>& pTreeView);
57 void appendInterfaces(css::uno::Reference<css::uno::XInterface>
const& xInterface);
58 void appendServices(css::uno::Reference<css::uno::XInterface>
const& xInterface);
59 void appendProperties(css::uno::Reference<css::uno::XInterface>
const& xInterface);
60 void appendMethods(css::uno::Reference<css::uno::XInterface>
const& xInterface);
62 void inspectObject(css::uno::Reference<css::uno::XInterface>
const& xInterface);
87 DECL_LINK(ToolbarButtonClicked,
const OUString&,
void);
91 DECL_LINK(NotebookEnterPage,
const OUString&,
void);
92 DECL_LINK(NotebookLeavePage,
const OUString&,
bool);
96 void introspect(css::uno::Reference<css::uno::XInterface>
const& xInterface);
Object inspector tree handler.
DECL_LINK(ExpandingHandlerServices, const weld::TreeIter &, bool)
std::deque< css::uno::Any > maInspectionStack
DECL_LINK(ExpandingHandlerProperties, const weld::TreeIter &, bool)
void inspectObject(css::uno::Reference< css::uno::XInterface > const &xInterface)
static void handleExpanding(std::unique_ptr< weld::TreeView > &pTreeView, weld::TreeIter const &rParent)
css::uno::Reference< css::uno::XComponentContext > mxContext
void appendProperties(css::uno::Reference< css::uno::XInterface > const &xInterface)
Append properties to the "properties" tree view.
DECL_LINK(PopupMenuHandler, const CommandEvent &, bool)
DECL_LINK(SelectionChanged, weld::TreeView &, void)
DECL_LINK(NotebookLeavePage, const OUString &, bool)
void introspect(css::uno::Reference< css::uno::XInterface > const &xInterface)
DECL_LINK(ToolbarButtonClicked, const OUString &, void)
DECL_LINK(ExpandingHandlerMethods, const weld::TreeIter &, bool)
void updateBackButtonState()
std::unique_ptr< ObjectInspectorWidgets > & mpObjectInspectorWidgets
static void clearAll(std::unique_ptr< weld::TreeView > &pTreeView)
Deletes all the node objects in a tree view.
css::uno::Any popFromStack()
void appendMethods(css::uno::Reference< css::uno::XInterface > const &xInterface)
Append methods to the "methods" tree view.
sal_Int32 compare(std::unique_ptr< weld::TreeView > &pTreeView, const weld::TreeIter &rLeft, const weld::TreeIter &rRight)
ObjectInspectorTreeHandler(std::unique_ptr< ObjectInspectorWidgets > &pObjectInspectorWidgets)
comphelper::string::NaturalStringSorter mxSorter
DECL_LINK(HeaderBarClick, int, void)
DECL_LINK(ExpandingHandlerInterfaces, const weld::TreeIter &, bool)
void appendInterfaces(css::uno::Reference< css::uno::XInterface > const &xInterface)
Append interfaces to the "interfaces" tree view.
DECL_LINK(NotebookEnterPage, const OUString &, void)
void setSortFunction(std::unique_ptr< weld::TreeView > &pTreeView)
void appendServices(css::uno::Reference< css::uno::XInterface > const &xInterface)
Append services to the "services" tree view.
static void clearObjectInspectorChildren(std::unique_ptr< weld::TreeView > &pTreeView, weld::TreeIter const &rParent)
void addToStack(css::uno::Any const &rAny)