LibreOffice Module dbaccess (master) 1
limitboxcontroller.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <com/sun/star/lang/XServiceInfo.hpp>
15#include <vcl/vclptr.hxx>
16
17namespace dbaui
18{
19
20class LimitBox;
21
27typedef cppu::ImplInheritanceHelper< ::svt::ToolboxController, css::lang::XServiceInfo> LimitBoxController_Base;
29{
30 public:
31 explicit LimitBoxController(
32 const css::uno::Reference< css::uno::XComponentContext >& rxContext );
33 virtual ~LimitBoxController() override;
34
37
39 virtual void SAL_CALL dispose() override;
40
42 virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;
43
45 virtual void SAL_CALL execute( sal_Int16 KeyModifier ) override;
46 virtual void SAL_CALL click() override;
47 virtual void SAL_CALL doubleClick() override;
48 virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override;
49 virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& Parent ) override;
50
51 void dispatchCommand( const css::uno::Sequence< css::beans::PropertyValue >& rArgs );
53
54 private:
56};
57
58}
59
60/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~LimitBoxController() override
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override
virtual void SAL_CALL dispose() override
XComponent.
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow(const css::uno::Reference< css::awt::XWindow > &Parent) override
virtual void SAL_CALL doubleClick() override
virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent &Event) override
XStatusListener.
DECLARE_SERVICE_INFO()
XServiceInfo.
virtual void SAL_CALL execute(sal_Int16 KeyModifier) override
XToolbarController.
LimitBoxController(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
VclPtr< LimitBox > m_xLimitBox
void dispatchCommand(const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
virtual void SAL_CALL click() override
void dispatchCommand(const OUString &sCommandURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs, const OUString &rTarget=OUString())
cppu::ImplInheritanceHelper< ::svt::ToolboxController, css::lang::XServiceInfo > LimitBoxController_Base
A ToolboxController to paste LimitBox onto the Query Design Toolbar It is communicating with querycon...