summaryrefslogtreecommitdiff
path: root/dbaccess/util
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-02-04 15:21:33 +0100
committerAndras Timar <atimar@suse.com>2013-02-25 20:04:03 +0000
commit9a471b8cd85d1c08d53ed2675e580ca9466ca433 (patch)
tree2796af7c686d69a186e326446586c74a2ab42723 /dbaccess/util
parentb57cb5326713da9e926bb2ad5a56dce90ac00a87 (diff)
Database: Add Limit in Query Desing View
Levels of implementation - Add a new toolbar item to ui (designobjectbar.xml) - Make a control for this element( LimitBox: derived from NumericBox) - Make an own controller for this control (LimitBoxController) and register it - Add new feature to the general\central controller (OQueryController) and construct a communication channel between the two controller - Modify the view switching (SQL<->Design) methods to use\set limit value (QueryDesignView.cxx) Conflicts: dbaccess/source/ui/querydesign/QueryDesignView.cxx Change-Id: I0eb09d1d40cfdb9b8a2a57ab8911faca91d5e690 Reviewed-on: https://gerrit.libreoffice.org/1994 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'dbaccess/util')
-rw-r--r--dbaccess/util/dbu.component3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/util/dbu.component b/dbaccess/util/dbu.component
index 17d3ab937d83..afd9002407bd 100644
--- a/dbaccess/util/dbu.component
+++ b/dbaccess/util/dbu.component
@@ -104,4 +104,7 @@
<implementation name="org.openoffice.comp.dbu.OViewDesign">
<service name="com.sun.star.sdb.ViewDesign"/>
</implementation>
+ <implementation name="org.libreoffice.comp.dbu.LimitBoxController">
+ <service name="com.sun.star.frame.ToolbarController"/>
+ </implementation>
</component>