diff options
author | sb <sb@openoffice.org> | 2010-09-10 13:10:07 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-09-10 13:10:07 +0200 |
commit | 9551bf5a1ee5c9275a26f8ec4021e0b7f5665176 (patch) | |
tree | 9c440724c8563bf927448d91c542469f1e18964b /framework/util | |
parent | 7a54dffcfbdb0d2e004ad070c35f511cee6642b5 (diff) |
sb129: #i113189# change UNO components to use passive registration
Diffstat (limited to 'framework/util')
-rw-r--r-- | framework/util/fwk.component | 142 | ||||
-rw-r--r-- | framework/util/fwl.component | 100 | ||||
-rw-r--r-- | framework/util/fwm.component | 43 | ||||
-rw-r--r-- | framework/util/makefile.mk | 20 |
4 files changed, 305 insertions, 0 deletions
diff --git a/framework/util/fwk.component b/framework/util/fwk.component new file mode 100644 index 000000000000..e6ceb91e8090 --- /dev/null +++ b/framework/util/fwk.component @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--********************************************************************** +* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2000, 2010 Oracle and/or its affiliates. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +* +**********************************************************************--> + +<component loader="com.sun.star.loader.SharedLibrary" + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.comp.frame.SessionListener"> + <service name="com.sun.star.frame.SessionListener"/> + </implementation> + <implementation name="com.sun.star.comp.framework.AddonsToolBarFactory"> + <service name="com.sun.star.ui.ToolBarFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.AutoRecovery"> + <service name="com.sun.star.frame.AutoRecovery"/> + </implementation> + <implementation name="com.sun.star.comp.framework.BackingComp"> + <service name="com.sun.star.frame.StartModule"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ControlMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.Desktop"> + <service name="com.sun.star.frame.Desktop"/> + </implementation> + <implementation name="com.sun.star.comp.framework.DocumentAcceleratorConfiguration"> + <service name="com.sun.star.ui.DocumentAcceleratorConfiguration"/> + </implementation> + <implementation name="com.sun.star.comp.framework.Frame"> + <service name="com.sun.star.frame.Frame"/> + </implementation> + <implementation name="com.sun.star.comp.framework.GlobalAcceleratorConfiguration"> + <service name="com.sun.star.ui.GlobalAcceleratorConfiguration"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ImageManager"> + <service name="com.sun.star.ui.ImageManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.JobExecutor"> + <service name="com.sun.star.task.JobExecutor"/> + </implementation> + <implementation name="com.sun.star.comp.framework.LangSelectionStatusbarController"> + <service name="com.sun.star.frame.StatusbarController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.LayoutManager"> + <service name="com.sun.star.frame.LayoutManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.MenuBarFactory"> + <service name="com.sun.star.ui.UIElementFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ModuleAcceleratorConfiguration"> + <service name="com.sun.star.ui.ModuleAcceleratorConfiguration"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ModuleManager"> + <service name="com.sun.star.frame.ModuleManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ModuleUIConfigurationManager"> + <service name="com.sun.star.ui.ModuleUIConfigurationManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ModuleUIConfigurationManagerSupplier"> + <service name="com.sun.star.ui.ModuleUIConfigurationManagerSupplier"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ObjectMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.PathSettings"> + <service name="com.sun.star.util.PathSettings"/> + </implementation> + <implementation name="com.sun.star.comp.framework.PathSubstitution"> + <service name="com.sun.star.util.PathSubstitution"/> + </implementation> + <implementation name="com.sun.star.comp.framework.PopupMenuControllerFactory"> + <service name="com.sun.star.frame.PopupMenuControllerFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.RecentFilesMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.StatusBarControllerFactory"> + <service name="com.sun.star.frame.StatusbarControllerFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.StatusBarFactory"> + <service name="com.sun.star.ui.StatusBarFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.StatusIndicatorFactory"> + <service name="com.sun.star.task.StatusIndicatorFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.TaskCreator"> + <service name="com.sun.star.frame.TaskCreator"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ToolBarControllerFactory"> + <service name="com.sun.star.frame.ToolBarControllerFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ToolBarFactory"> + <service name="com.sun.star.ui.ToolBarFactory"/> + </implementation> + <implementation name="com.sun.star.comp.framework.UICategoryDescription"> + <service name="com.sun.star.ui.UICategoryDescription"/> + </implementation> + <implementation name="com.sun.star.comp.framework.UICommandDescription"> + <service name="com.sun.star.frame.UICommandDescription"/> + </implementation> + <implementation name="com.sun.star.comp.framework.UIConfigurationManager"> + <service name="com.sun.star.ui.UIConfigurationManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.UIElementFactoryManager"> + <service name="com.sun.star.ui.UIElementFactoryManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.URLTransformer"> + <service name="com.sun.star.util.URLTransformer"/> + </implementation> + <implementation name="com.sun.star.comp.framework.WindowContentFactoryManager"> + <service name="com.sun.star.ui.WindowContentFactoryManager"/> + </implementation> + <implementation name="com.sun.star.comp.framework.WindowStateConfiguration"> + <service name="com.sun.star.ui.WindowStateConfiguration"/> + </implementation> + <implementation name="com.sun.star.comp.framework.jobs.JobDispatch"> + <service name="com.sun.star.frame.ProtocolHandler"/> + </implementation> +</component> diff --git a/framework/util/fwl.component b/framework/util/fwl.component new file mode 100644 index 000000000000..aa124d1cdc4b --- /dev/null +++ b/framework/util/fwl.component @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--********************************************************************** +* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2000, 2010 Oracle and/or its affiliates. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +* +**********************************************************************--> + +<component loader="com.sun.star.loader.SharedLibrary" + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sum.star.comp.framework.LanguageSelectionMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.DispatchRecorder"> + <service name="com.sun.star.frame.DispatchRecorder"/> + </implementation> + <implementation name="com.sun.star.comp.framework.DispatchRecorderSupplier"> + <service name="com.sun.star.frame.DispatchRecorderSupplier"/> + </implementation> + <implementation name="com.sun.star.comp.framework.FontMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.FontSizeMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.FooterMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.HeaderMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.License"> + <service name="com.sun.star.task.Job"/> + </implementation> + <implementation name="com.sun.star.comp.framework.LogoImageStatusbarController"> + <service name="com.sun.star.frame.StatusbarController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.LogoTextStatusbarController"> + <service name="com.sun.star.frame.StatusbarController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.MacrosMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.MailToDispatcher"> + <service name="com.sun.star.frame.ProtocolHandler"/> + </implementation> + <implementation name="com.sun.star.comp.framework.MediaTypeDetectionHelper"> + <service name="com.sun.star.frame.MediaTypeDetectionHelper"/> + </implementation> + <implementation name="com.sun.star.comp.framework.NewMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.OXTFileHandler"> + <service name="com.sun.star.frame.ContentHandler"/> + </implementation> + <implementation name="com.sun.star.comp.framework.PopupMenuController"> + <service name="com.sun.star.frame.ToolbarController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.PopupMenuControllerDispatcher"> + <service name="com.sun.star.frame.ProtocolHandler"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ServiceHandler"> + <service name="com.sun.star.frame.ProtocolHandler"/> + </implementation> + <implementation name="com.sun.star.comp.framework.SimpleTextStatusbarController"> + <service name="com.sun.star.frame.StatusbarController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.TabWindowService"> + <service name="com.sun.star.ui.dialogs.TabContainerWindow"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ToolBarsMenuController"> + <service name="com.sun.star.frame.PopupMenuController"/> + </implementation> + <implementation name="com.sun.star.comp.framework.UriAbbreviation"> + <service name="com.sun.star.util.UriAbbreviation"/> + </implementation> + <implementation name="com.sun.star.comp.framework.services.DispatchHelper"> + <service name="com.sun.star.frame.DispatchHelper"/> + </implementation> +</component> diff --git a/framework/util/fwm.component b/framework/util/fwm.component new file mode 100644 index 000000000000..624249ff4382 --- /dev/null +++ b/framework/util/fwm.component @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--********************************************************************** +* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2000, 2010 Oracle and/or its affiliates. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +* +**********************************************************************--> + +<component loader="com.sun.star.loader.SharedLibrary" + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.comp.framework.HelpOnStartup"> + <service name="com.sun.star.task.Job"/> + </implementation> + <implementation name="com.sun.star.comp.framework.ShellJob"> + <service name="com.sun.star.task.Job"/> + </implementation> + <implementation name="com.sun.star.comp.framework.SystemExecute"> + <service name="com.sun.star.frame.ProtocolHandler"/> + </implementation> + <implementation name="com.sun.star.comp.framework.TabWindowFactory"> + <service name="com.sun.star.frame.TabWindowFactory"/> + </implementation> +</component> diff --git a/framework/util/makefile.mk b/framework/util/makefile.mk index 91532cda76e2..a66643994f64 100644 --- a/framework/util/makefile.mk +++ b/framework/util/makefile.mk @@ -423,3 +423,23 @@ $(MISC)$/$(SHL2TARGET).flt: makefile.mk @echo _TI2>>$@ @echo LIBMAIN>>$@ @echo LibMain>>$@ + +ALLTAR : $(MISC)/fwk.component $(MISC)/fwl.component $(MISC)/fwm.component + +$(MISC)/fwk.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + fwk.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt fwk.component + +$(MISC)/fwl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + fwl.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt fwl.component + +$(MISC)/fwm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + fwm.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL5TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt fwm.component |