summaryrefslogtreecommitdiff
path: root/framework/util
AgeCommit message (Collapse)Author
2015-07-16'Save As' popup menu in the Writer's toolbarSzymon Kłos
Change-Id: I1b1cb7fcd2ae0e0f50e4d8e3900bc416435e60bf
2015-07-13Introduce generic sub toolbar controllerMaxim Monastirsky
Currently many toolbar controllers are basically doing the same thing - show some docked toolbar. So the idea here is to have one generic controller that will handle all these cases in a unified way. It will get the name of the toolbar that it's supposed to show from the configuration, based on the command it was registered for. Right now it can handle both simple (i.e. with DROPDOWNONLY bits) and split (i.e. with DROPDOWN bits) scenarios, where for split kind it replaces the function (and the image) of the main part of the button, with the last selected function, for easy reusing. A button is considered to be a split one, if the name of the initial default command was passed along with the sub toolbar name, otherwise it will be a simple button. The core change is in framework/. Other parts are a usage example, in form of converting the custom shapes buttons to this new controller. Change-Id: I087cc58c3db1889ca69a26546d4f00fe07e2a58d Reviewed-on: https://gerrit.libreoffice.org/16967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-03-14remove com.sun.star.comp.framework.LicenseCaolán McNamara
its unused and removing it allows us to remove the associated dialog and resources Change-Id: If2796ca67428f3ba9b12e92728194967a1ab124a
2014-02-13remove now empty fwk_component_getFactoryMatúš Kukan
Change-Id: I5f2f5fc9ccc75b145572aa0bb88b00b0d7a5872d
2014-02-13fwk: Constructor feature for single-instance framework::Desktop.Matúš Kukan
Change-Id: Id582e672c0b41a35d25361f7dfe970a767880b2a
2014-02-13Introduce com.sun.star.frame.theDesktop singleton.Matúš Kukan
Change-Id: I3d269609119149e289652f6bc106e6bd9061672d
2014-02-11fwk: Constructor feature for one instance ContextChangeEventMultiplexer.Matúš Kukan
Change-Id: Ibb89e4dd46fc5d1f8a85f96b7e4677fa764bb112
2014-02-11fwk: Constructor feature for one instance SessionListener.Matúš Kukan
Converted as usual service implementation. Change-Id: I37c2f25e8a463abb236753c1299cc0aeb3007cd9
2014-02-06fwk: Constructor feature for single-instance WindowStateConfiguration.Matúš Kukan
Change-Id: I0537d7a30b6c6807bf746a52dbd2c7fc66607ae2
2014-02-06Introduce com.sun.star.ui.theWindowStateConfiguration singleton.Matúš Kukan
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-02-06fwk: Constructor feature for single-instance FooBarFactories.Matúš Kukan
Converted them as usual service implementations. Otherwise - if static singletons are used - it does not show menu for some reason. Change-Id: I0673d0bfbba268728a3fa676f2af95aa6c74bbb2
2014-02-06Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan
To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-01-30fwk: Ctor feature for single-instance ModuleUIConfigurationManagerSupplier.Matúš Kukan
Change-Id: I4674ed6852807e08ff8319515b0ab4e9535b668a
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30fwk: Constructor feature for single-instance TaskCreatorService.Matúš Kukan
Change-Id: I9e994ebb4822458039709690aa5dd0a7f75735ac
2014-01-30fwk: Constructor feature for single-instance SubstitutePathVariables.Matúš Kukan
Change-Id: Ibd626f00bb844ae8ec1cab773093b8c94bf8d936
2014-01-30fwk: Constructor feature for single-instance WindowContentFactoryManager.Matúš Kukan
Change-Id: I6786bc1d76fd57edc8dfacb667b53deab792bd20
2014-01-30Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.Matúš Kukan
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
2014-01-29fwk: Constructor feature for single-instance UIElementFactoryManager.Matúš Kukan
Change-Id: Iaa6b6bf8f132e2f8efb9ae71e9302e6be19347c9
2014-01-29Introduce com.sun.star.ui.theUIElementFactoryManager singleton.Matúš Kukan
To replace single-instance com.sun.star.ui.UIElementFactoryManager service. Change-Id: I4262909c4396e3907d271a56696a06903168a58d
2014-01-29fwk: Constructor feature for single-instance UIControllerFactories.Matúš Kukan
Change-Id: I0867404f7e4aa7b9caafe4f0568bd2c20190867f
2014-01-29Introduce com.sun.star.frame.ControllerFactory singletons:Matúš Kukan
com.sun.star.frame.thePopupMenuControllerFactory com.sun.star.frame.theStatusbarControllerFactory com.sun.star.frame.theToolbarControllerFactory To replace their single-instance service variants. Change-Id: I00586d0d61e63f9482cb659071e88aa9cf02d5b5
2014-01-28fwk: Constructor feature for one instance UICommandDescription.Matúš Kukan
Change-Id: I3b772ce36492e89451597b3c7dadc5e5b5b22de7
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28fwk: Constructor feature for one instance UICategoryDescription.Matúš Kukan
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28Introduce com.sun.star.ui.theUICategoryDescription singleton.Matúš Kukan
Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23
2014-01-28Introduce com.sun.star.frame.theAutoRecovery singleton.Matúš Kukan
To replace com.sun.star.frame.AutoRecovery single-instance service, incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e Unfortunately needs a lot of changes in autorecovery.cxx. Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-24Introduce com.sun.star.task.theJobExecutor singleton.Matúš Kukan
To replace com.sun.star.task.JobExecutor single-instance service, incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58 [including changes by Stephan Bergmann <sbergman@redhat.com>] Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687 Reviewed-on: https://gerrit.libreoffice.org/7609 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-23fwk: Use constructor feature for one instance PathSettings.Matúš Kukan
Change-Id: Iaa01abc9f604d8f9e6f762e3340f9468e19f4848
2014-01-20fwk: Use constructor feature for AutoRecovery.Matúš Kukan
Change-Id: I87a6c1c1c6dc92670dccee3f56302e7f234b281d
2014-01-20fwk: Use constructor feature for JobExecutor.Matúš Kukan
Change-Id: I5087320137dc17f27a382d564a59cec68f1a4f95
2014-01-18fwk: Use constructor feature for ModuleAcceleratorConfiguration.Matúš Kukan
And avoid css::uno::XInitialization protocol. Change-Id: If4a7987778e2880502bdc7ef2c30792de9377364
2014-01-18fwk: Use constructor feature for DocumentAcceleratorConfiguration.Matúš Kukan
And avoid css::uno::XInitialization protocol. Change-Id: I14daf6409bf0d651d7b23246ba3855f647b3d1ef
2014-01-18fwk: Use constructor feature for ModuleUIConfigurationManager.Matúš Kukan
And avoid css::uno::XInitialization protocol.
2014-01-17fwk: Constructor feature for ControlMenuController.Matúš Kukan
Change-Id: I789205c1bc9ceefda003d9887ac4409625539537
2014-01-17fwk: Constructor feature for RecentFilesMenuController.Matúš Kukan
Change-Id: I7bb943a6fe7526264e8465faeb7e86adbf3cb737
2014-01-17fwk: Use constructor feature for Frame.Matúš Kukan
Change-Id: I5f7ee46671b22d17c5cb060f96342727d566fa21
2014-01-17fwk: Use constructor feature for GlobalAcceleratorConfiguration.Matúš Kukan
Change-Id: Ic0268e9841c78e5de646074755e99706adac8d7d
2014-01-17fwk: Use constructor feature for ImageManager.Matúš Kukan
Change-Id: I3f231980b1908495b1f5ec17f95c39c464d40ff8
2014-01-17fwk: Use constructor feature for LayoutManager.Matúš Kukan
Change-Id: I8f5167f7e522585ce8b80ebd8a9a0031aea50d74
2014-01-17fwk: Use constructor feature for ModuleManager.Matúš Kukan
Change-Id: Ic0bcec6fffc52ed1ce535f87da933bdf01c6db01
2014-01-17fwk: Use constructor feature for ObjectMenuController.Matúš Kukan
Change-Id: I93bec5fcb51987b7db433250f990685f15f0aa29
2014-01-17fwk: Use constructor feature for UIConfigurationManager.Matúš Kukan
Change-Id: Icd42b6b9b62271606659651a2f463e1ee2956fe6
2014-01-17fwk: Use constructor feature for URLTransformer.Matúš Kukan
Change-Id: I6559cb4c97e7c20930fffba3ce3d565840c89033
2014-01-17fwk: Use constructor feature for JobDispatch.Matúš Kukan
Change-Id: I49a09c4dd0550c318e9f263e9d1a8d0a5e0e15b5
2014-01-17fwk: Use constructor feature for StatusIndicatorFactory.Matúš Kukan
Change-Id: I0595ec98df7bf4114dfb4c21aedd2d2744fda11e
2014-01-17fwk: Use constructor feature for LangSelectionStatusbarController.Matúš Kukan
Change-Id: If7ce3d27f1cec8e55b65fc2d8c749f2e8bb33768
2014-01-17fwk: Use constructor feature for AddonsToolBoxFactory.Matúš Kukan
Change-Id: Ifd0c71a5f37fa87c8acc2d810496925788be99ef
2014-01-17fwk: Use constructor feature for TabWindowService.Matúš Kukan
Change-Id: I37c6cb578ed4085d721b993496173822e0a554d9
2014-01-17fwk: Use constructor feature for WizardsToolbarController.Matúš Kukan
Change-Id: I5bc8e2e212e97f216f828dfea1fbcda59adda4e4