summaryrefslogtreecommitdiff
path: root/framework/util
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-09 20:36:26 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-02-06 12:03:27 +0100
commit813b0f60e86de5e0ebf678691a9ff405e293bf86 (patch)
tree92c9599cc87a400527e7efb3808642a4c90498b7 /framework/util
parent094f92bb789ecd24793c5843bfae13e79122fc5a (diff)
fwk: Constructor feature for single-instance FooBarFactories.
Converted them as usual service implementations. Otherwise - if static singletons are used - it does not show menu for some reason. Change-Id: I0673d0bfbba268728a3fa676f2af95aa6c74bbb2
Diffstat (limited to 'framework/util')
-rw-r--r--framework/util/fwk.component9
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/util/fwk.component b/framework/util/fwk.component
index 3c931636337e..463a3287c827 100644
--- a/framework/util/fwk.component
+++ b/framework/util/fwk.component
@@ -70,7 +70,8 @@
constructor="com_sun_star_comp_framework_LayoutManager_get_implementation">
<service name="com.sun.star.frame.LayoutManager"/>
</implementation>
- <implementation name="com.sun.star.comp.framework.MenuBarFactory">
+ <implementation name="com.sun.star.comp.framework.MenuBarFactory"
+ constructor="com_sun_star_comp_framework_MenuBarFactory_get_implementation">
<service name="com.sun.star.ui.UIElementFactory"/>
</implementation>
<implementation name="com.sun.star.comp.framework.ModuleAcceleratorConfiguration"
@@ -117,7 +118,8 @@
<service name="com.sun.star.frame.StatusbarControllerFactory"/>
<singleton name="com.sun.star.frame.theStatusbarControllerFactory"/>
</implementation>
- <implementation name="com.sun.star.comp.framework.StatusBarFactory">
+ <implementation name="com.sun.star.comp.framework.StatusBarFactory"
+ constructor="com_sun_star_comp_framework_StatusBarFactory_get_implementation">
<service name="com.sun.star.ui.StatusBarFactory"/>
</implementation>
<implementation name="com.sun.star.comp.framework.StatusIndicatorFactory"
@@ -133,7 +135,8 @@
<service name="com.sun.star.frame.ToolbarControllerFactory"/>
<singleton name="com.sun.star.frame.theToolbarControllerFactory"/>
</implementation>
- <implementation name="com.sun.star.comp.framework.ToolBarFactory">
+ <implementation name="com.sun.star.comp.framework.ToolBarFactory"
+ constructor="com_sun_star_comp_framework_ToolBarFactory_get_implementation">
<service name="com.sun.star.ui.ToolBarFactory"/>
</implementation>
<implementation name="com.sun.star.comp.framework.UICategoryDescription"