Commit Graph

15 Commits

Author SHA1 Message Date
5a2a266d4b support more command in chart sidebar
We now have a complete toolbar controller in chart2.

Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b
2015-08-05 23:17:24 +02:00
2aea9e37d6 Introduce generic sub toolbar controller
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>
2015-07-13 12:09:52 +00:00
b33b2afe6a big step towards real chart sidebar
Change-Id: I9b7d1f963746f7689b02099fbae77c9c943bad58
2015-07-12 18:56:49 +02:00
38b9fe8269 chart2: use constructor feature for WizardDialog
Change-Id: Ifcaae6401f1ad5069248111b568a1cf5c033f5ab
2014-04-25 10:51:25 +02:00
f7731b7301 chart2: use constructor feature for ShapeToolbarController
Change-Id: Ic0a9dc23ddfde00cbb2bfa7cf3983ff0c6276654
2014-04-25 10:51:25 +02:00
50634a20d3 chart2: use constructor feature for ChartTypeDialog
Change-Id: I5efc89d8d0139216c1ae92aa692704f9f58915ca
2014-04-25 10:51:25 +02:00
167cd68084 chart2: use constructor feature for ChartFrameLoader
Change-Id: Ibbbd41a30cd240250720aac7b45d0a394be5230b
2014-04-25 10:51:25 +02:00
b038c4ecdc chart2: use constructor feature for ChartDocumentWrapper
Change-Id: I5b99d64be17a0e7d3c1bb630e1f35afe0eb62c81
2014-04-25 10:51:25 +02:00
899c018a2f chart2: use constructor feature for ChartController
Change-Id: Ie6c5c0e20ae2b2f38f176dee90c33e5baba100a5
2014-04-25 10:51:25 +02:00
c1e8cd6f82 chart2: use constructor feature for ElementSelectorToolbarController
Change-Id: Iee99f1f86af4ed494dbbe33b31baeb707b7ed544
2014-04-24 22:03:37 +02:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
90227b15f0 chart2: replace use of deprecated UserDefinedAttributeSupplier
... with UserDefinedAttributesSupplier

Change-Id: Ib289aaae114d89238a665d0a58eda6fa8d0c482b
2012-11-29 21:24:20 +01:00
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
45fb35c7ac add prefixes for component_getFactory 2011-07-28 14:35:37 +02:00
sb
a43f7851c7 sb129: #i113189# change UNO components to use passive registration 2010-09-10 13:10:07 +02:00