Commit graph

1226 commits

Author SHA1 Message Date
Frank Schoenheit [fs]
0bbace39b3 gridsort: XGridControl: add methods to retrieve the current row/col 2011-01-11 14:00:09 +01:00
Frank Schoenheit [fs]
16028c42b1 gridsort: XGridControl::getItemIndexAtPoint renamed to getRowAtPoint; introduced getColumnAtPoint 2011-01-11 12:36:41 +01:00
Frank Schoenheit [fs]
012b72f488 gridsort: +XGridColumn::HelpText, to be displayed as tooltip for the column header 2011-01-11 11:42:27 +01:00
Frank Schoenheit [fs]
5a256f4486 gridsort: removed XGridControl::setTooltip. It had a rather strange semantics, seems to be unused in the current
OOo code base, and would belong to the model, if at all.
Still one thing to do: do not unconditionally display the cell content as tooltip, but make this dependent on
whether or not the cell content fits into the cell.
2011-01-11 10:58:26 +01:00
Frank Schoenheit [fs]
858b82e990 gridsort: removed XGridColumn::setIndex - don't really want to have something like this at the public API 2011-01-10 15:48:16 +01:00
Frank Schoenheit [fs]
34f93e97f2 gridsort: XGridDataModel: moved modifying functionality into XMutableGridDataModel. 2011-01-10 15:47:51 +01:00
Frank Schoenheit [fs]
ee6e84390f gridsort: do not retrieve all row headers at once, this doesn't scale. Instead, allow to retrieve the header/title of a row given by index 2011-01-07 15:52:55 +01:00
Frank Schoenheit [fs]
075ffa4ea2 gridsort: alllow removing columns from a grid control column model 2011-01-07 15:28:22 +01:00
Frank Schoenheit [fs]
ca53d45049 gridsort: added XGridColumnModel::createColumn 2011-01-07 13:08:22 +01:00
Frank Schoenheit [fs]
c36c24d7c4 gridsort: RowHeight belongs to the GridControlModel (not the GridDataModel), too 2011-01-07 10:51:57 +01:00
Frank Schoenheit [fs]
9cb54ddb6e gridsort: RowHeaderWidth/ColumnHeaderHeight do not belong to the GridData/ColumnModel, but to the GridControlModel 2011-01-07 10:31:19 +01:00
Frank Schoenheit [fs]
e1c8040141 gridsort: removed css.awt.grid.ScrollBarMode - it was unused, and if it weren't, it wouldn't belong into this module 2011-01-07 09:55:56 +01:00
Frank Schoenheit [fs]
f167cee01f gridsort: XGridDataModel: do not provide access to all data at once, instead use cell-based access 2011-01-06 16:28:45 +01:00
Mikhail Voytenko
305315337b removetooltypes01: rebase to DEV300_m96 2011-01-06 14:57:12 +01:00
Frank Schoenheit [fs]
9a40270466 gridsort: removed XGridColumnModel::copyColumn
This does the very same as XGridColumn::XCloneable::createClone does, so there's no need for this method anymore.
2011-01-06 14:45:02 +01:00
Frank Schoenheit [fs]
adebaa24f8 gridsort: allow inserting columns into the column model while the control is already alive (unfinished)
Missing: Adjustments to the data model. Probably we need to change the API here: It does not make sense
that the only method to retrieve actual data from the data model is "any[][] getData" - this doesn't scale
at all, and blocks all dynamic changes to the columns. I suppose we need some "any getCellData( col, row )"
here.
2011-01-06 14:16:36 +01:00
Frank Schoenheit [fs]
40fa25aad0 gridsort: when removing a control due to a model change, ensure the control is disposed (otherwise relicts of it will remain in our VCL counterpart) 2011-01-06 14:13:19 +01:00
Vladimir Glazunov
668956d144 CWS-TOOLING: integrate CWS vcl117 2011-01-06 12:12:27 +01:00
Frank Schoenheit [fs]
671aee6168 gridsort: correct registration for tthe GridColumn service 2011-01-06 11:35:10 +01:00
Philipp Lohmann [pl]
bbbe82cbcf rebase to DEV300_m96 2011-01-06 11:11:47 +01:00
Frank Schoenheit [fs]
60312aa1f8 gridsort: member names usually start with UpperCase - corrected this for GridColumn/DataEvent, for sake of consistency 2011-01-05 12:16:37 +01:00
Frank Schoenheit [fs]
a620f8a0d8 dba34b: merged DEV300m96 2011-01-05 10:07:18 +01:00
Frank Schoenheit [fs]
d3dcce2434 gridsort: make build on unxlngi6 2011-01-04 15:09:05 +01:00
Frank Schoenheit [fs]
891179797b gridsort: don't decide in the TableControl whether a cell content is a image or a string-convertible - this is
the renderer's task in the original design.
2011-01-04 10:26:14 +01:00
Frank Schoenheit [fs]
b83e7371c4 gridsort: allow cloning grid columns, and the (default) grid data/column model 2011-01-03 23:14:55 +01:00
Frank Schoenheit [fs]
cb2f6f86c9 gridsort: removed methods from ITableModel which exposed implementation details of the UnoControlTableModel.
Also, instead of exposing those implementation details in UnoControlTableModel, added atomar operations
for stuff like adding / clearing of rows, and the like.
2011-01-03 16:01:14 +01:00
Daniel Rentz [dr]
2ddbbcba14 dr77: rebase to DEV300m96 2010-12-27 12:33:29 +01:00
Frank Schoenheit [fs]
73731f92fd gridsort: do not allow NULL/VOID for a grid's columnd/data model - nothing would work then. (Both are already default-initited to some empty model in the grid model's ctor, for quite a few revisions) 2010-12-23 16:10:02 +01:00
Frank Schoenheit [fs]
6f7105ef88 gridsort: re-factoring the column-resizing thingie, step 1
In the current implementation, this is rather complex, and hardly maintainable. Also, it all happens in
TableControl_Impl and TableDataWindow, while in the original design, the InputHandler was intended to care
for this kind of tasks (one class - one responsibility).
2010-12-23 15:48:53 +01:00
Frank Schoenheit [fs]
e4e6ad6f2a undoapi: merged after pulling DEV300_m96. Most probably still not buildable:A number of changes which happened in the CWS need to be redone due to the new build system 2010-12-23 10:01:58 +01:00
Frank Schoenheit [fs]
0f5aec2c8e gridsort: UnoTreeControl should use the base classes ctor taking a factory 2010-12-17 14:46:40 +01:00
Frank Schoenheit [fs]
7fe193a7f6 gridsort: renamed XGridDataModel::add/removeDataListener to add/removeGridDataListener - this consistency with the actual listener type name will make introspection work 2010-12-17 14:32:31 +01:00
Frank Schoenheit [fs]
40b70c5f94 gridsort: renamed XGridColumn::add/removeColumnListener to add/removeGridColumnListener - this consistency with the actual listener type name will make introspection work 2010-12-17 14:25:50 +01:00
Frank Schoenheit [fs]
e8dce783c6 gridsort: let XGridColumnModel::getColumn throw an IndexOutOfBoundsException when appropriate 2010-12-17 14:16:47 +01:00
Frank Schoenheit [fs]
caa7780d3a gridsort: removed XGridColumn::updateColumn
The implementation of this column was only a wrapper around what setColumnWidth/setPreferredWidth
would have done. Also, the mechanism how this method was used was really weird, effectively propagating
the (preferred) width from the ITableColumn implementation of the grid peer to the XGridColumn implementation
of the grid column model. This was done each time the (preferred) width was access for reading - not really
a clever solution.
Now, the ITableColumn knows its respective XGridColumn, and simply forwards the (preferred) width as needed.
2010-12-17 14:07:29 +01:00
Frank Schoenheit [fs]
6531aff840 gridsort: more refactoring of the relationship (especially with respect to listeners) between the various
table/grid classes. Now we're not as strict as before with respect to the construction order. Also, updating
various aspects of a column model (e.g. inserting a new column) will work now even if there already is a control
for the model.
Still a long way to go to fix some more obvious problems, which make using the grid control API a PITA (you're
lost if you do now know *exactly* which things to do in which order).
2010-12-17 13:38:24 +01:00
Ocke Janssen [oj]
86e5e05f7f tabcontrol: compile fix 2010-12-17 10:15:47 +01:00
Ocke.Janssen
59b098f01a Automated merge with http://hg-lan.germany.sun.com/ooo/DEV300 2010-12-10 10:31:08 +01:00
Ocke.Janssen
e69a49817c tabcontrol: put helpurl 2010-12-10 10:25:33 +01:00
Frank Schoenheit [fs]
7bef1fa0ec gridsort: introduced container listeners at the grid model, reworked and fixed listener relationship between grid model/control/peer 2010-12-07 13:50:47 +01:00
Frank Schoenheit [fs]
2d8c797828 gridsort: no reason to burden each and every client with creating a default Data/Column model - do this in the ctor of the grid model. If clients want to override this, they of course still can do 2010-12-07 09:51:15 +01:00
Frank Schoenheit [fs]
bbef9c4dba gridsort: re-enabled those tests 2010-12-07 09:51:12 +01:00
Frank Schoenheit [fs]
2033a625d3 gridsort: give the UnoControl(Model/Base) classes a ctor taking a service factory, so we have access to the factory
which created us, and don't need to resort to the process'es service factory
2010-12-06 14:14:11 +01:00
Frank Schoenheit [fs]
255da0d3dc dba34b InitImageList: corrected condition for early exit 2010-12-02 14:43:46 +01:00
Mathias Bauer
186123da28 CWS gnumake2: resync to m94 2010-11-26 15:27:38 +01:00
Philipp Lohmann [pl]
41baca264d merge with DEV300_m94 2010-11-24 18:50:17 +01:00
Philipp Lohmann [pl]
696996791d vcl117: #i115686# remove old unused style setting 2010-11-24 18:39:49 +01:00
Philipp Lohmann [pl]
eb2b6f7212 vcl117: removed obsolete header 2010-11-23 18:41:04 +01:00
Frank Schoenheit [fs]
52e3b9ebbc undoapi: merge after pulling DEV300.m94 2010-11-22 10:17:18 +01:00
Bjoern Michaelsen
c8e2c920be gnumake2: removing old dmake file in migrated modules 2010-11-19 21:45:41 +01:00
Frank Schoenheit [fs]
e275aa2d11 dba34b: #i115291# when cloning a ListBoxModel, also copy the string items 2010-11-19 13:40:23 +01:00
Xiaofei Zhang
3491b4ac4f removetooltypes01: #i112600# resync to DEV300_m92; remove tooltypes from xmloff, linguistic, vcl, svtools, accessibility, fpicker, uui and framework 2010-11-10 13:50:33 +08:00
Daniel Rentz [dr]
376a1fd0f4 dr77: rebase to DEV300m92 2010-11-09 15:15:30 +01:00
Vladimir Glazunov
1fe0c12d3a CWS-TOOLING: integrate CWS dba34a 2010-11-08 16:01:31 +01:00
Xiaofei Zhang
cef41c30dd removetooltypes01: #i112600# remove tooltypes from toolkit, svtools and framework 2010-11-05 10:31:15 +08:00
Mihaela Kedikova
2630589392 tabcontrol: merge with DEV300_m91 2010-11-02 17:50:53 +01:00
Mihaela Kedikova
d5d4368465 tabcontrol: changes regarding version and services 2010-11-02 16:08:50 +01:00
Frank Schoenheit [fs]
d077f1af17 dba34b: <stl/limits> => <limits> 2010-10-29 12:56:56 +02:00
Frank Schoenheit [fs]
d2e595727b merge after pulling DEV300.m91 2010-10-29 11:31:21 +02:00
Frank Schoenheit [fs]
db7d3edcaa merge after pulling DEV300.m91 2010-10-29 09:56:29 +02:00
Frank Schoenheit [fs]
209d53b5f7 undoapi: moved Flag/RestorationGuard into dedicated header file comphelper/flagguard.hxx 2010-10-25 11:49:55 +02:00
Mihaela Kedikova
281d755998 tabcontrol: merge with DEV300_m89 2010-10-14 13:49:43 +02:00
Frank Schoenheit [fs]
4f5e614c0a dba34b: #i112779# don't search for the best image set if there is only one (or even none) 2010-10-11 21:10:50 +02:00
Frank Schoenheit [fs]
ba2506b0e4 dba34b: #i112779# support automatic HC theme in AnimatedImagesPeer 2010-10-11 16:02:59 +02:00
Frank Schoenheit [fs]
7fcbcc4b70 dba34b: during #i112779#: don't hold an extra BitmapEx in ImageControl, use base classes Image instead 2010-10-11 13:59:41 +02:00
Mathias Bauer
b41d62671e CWS changehid: resync to m89 2010-10-09 18:56:58 +02:00
Frank Schoenheit [fs]
9c18a3edd4 dba34b: #i112779# moved the new throbber resources from toolkit to VCL (forgot those when moving the code) 2010-10-07 14:13:53 +02:00
Frank Schoenheit [fs]
381af19adb dba34b: outsourced the Throbber_Impl from toolkit to VCL, promoted to a 'real' control 2010-10-07 13:22:07 +02:00
Frank Schoenheit [fs]
0b4116b8c0 dba34b: GCC WaE 2010-10-06 21:09:05 +02:00
Frank Schoenheit [fs]
874cb08467 dba34b: #i112779# new 'animated images' UNO control, superseding the (X)SimpleAnimation and Throbber controls 2010-10-06 14:21:47 +02:00
Frank Schoenheit [fs]
e9c647712a dba34b: pulled DEV300:m89 2010-10-04 19:55:06 +02:00
Daniel Rentz [dr]
45a0ee3dc3 dr77: rebase to DEV300_m88 2010-09-28 20:30:05 +02:00
sb
dd04f0f604 sb129: merged in DEV300_m88 2010-09-22 10:27:02 +02:00
Hans-Joachim Lankenau
ea9f984e8f DEV300: changesets OOO330 up to m8 2010-09-17 13:32:40 +02:00
Frank Schoenheit [fs]
104f2f23ff dba34a: #i111148# do not call setPropertyValue from within setFastPropertyValue_NoBroadcast, this is prone to deadlocks. Instead, use the newly introduced setDependentFastPropertyValue, which postpones the notifications to a more appropriate point in time 2010-09-16 14:25:54 +02:00
Frank Schoenheit [fs]
3d304bb9ad dba34a: merge after pulling latest changes from CWS dba33i 2010-09-13 19:15:41 +02:00
sb
a3c8a0ed0c sb129: #i113189# change UNO components to use passive registration 2010-09-10 13:10:07 +02:00
Ocke Janssen [oj]
5de58a0846 tabcontrol: fix graphic objedct for dialog 2010-09-09 17:41:40 +02:00
Ocke Janssen [oj]
39faed2cd8 tabcontrol: enable graphics for dialogs again 2010-09-09 15:18:26 +02:00
Ocke Janssen [oj]
559f957fc3 tabcontrol: notify tab listener 2010-09-06 10:26:04 +02:00
Frank Schoenheit [fs]
6a8fd4c76a dba33i: #163542# VCLXWindow::OnProcessCallbacks: process window events while attempting to re-acquire the solar mutex - this prevents deadlocks with other threads trying to SendMessage into the main thread 2010-09-03 17:26:50 +02:00
Ocke Janssen [oj]
fefeeefffd tabcontrol: change default of border 2010-09-03 11:29:29 +02:00
Ocke Janssen [oj]
0a966b904b tabcontrol: fix some compile errors 2010-09-02 14:32:02 +02:00
Frank Schoenheit [fs]
a13e86aa55 dba34a: merged in CWS dba33i 2010-09-02 14:25:11 +02:00
Daniel Rentz [dr]
bd86cc7c23 dr77: rebase to DEV300m87 2010-08-30 19:25:43 +02:00
Frank Schoenheit [fs]
720f6380af dba33h: merge after pulling OOO330.m6 2010-08-30 14:10:40 +02:00
Ocke Janssen [oj]
265043a935 tabcontrol: #i113362# impl tabcontrol in awt 2010-08-27 12:13:59 +02:00
Vladimir Glazunov
a4587226ee CWS-TOOLING: integrate CWS codecleanup02 2010-08-25 17:21:42 +02:00
Frank Schoenheit [fs]
45e7a1e3f6 fs33a: expose the WB_HIDESELECTION but of the tree control at its UNO API 2010-08-23 15:18:37 +02:00
Mihaela Kedikova
5eb0040d01 tabcontrol: new source code for tabcontrol added 2010-08-12 17:44:19 +02:00
Mihaela Kedikova
a59d3476c3 tabcontrol: new source code for tabcontrol added 2010-08-12 17:36:53 +02:00
Frank Schoenheit [fs]
84b23848df merging in latest changes from OOO330(m3) 2010-08-10 14:53:21 +02:00
Daniel Rentz
0ce8989b14 dr77: rebase to m86 2010-08-05 09:51:16 +02:00
Mikhail Voytenko
c7821efc46 mib18: #163185# avoid crash when document is closed and a modal dialog is active 2010-08-04 12:21:22 +02:00
Jens-Heiner Rechtien
a6fb87b109 CWS-TOOLING: integrate CWS unoawt2 2010-07-21 15:32:50 +02:00
Mathias Bauer
a929816d90 CWS changehid: #i111784#: consolidate usage of HID schema; remove unused SetDialogHelpId methods 2010-07-20 14:50:49 +02:00
Mathias Bauer
8a5421776a CWS changehid: #i111874#: HelpIds now are byte strings 2010-07-15 15:25:26 +02:00
Daniel Rentz
5ca6cfe456 dr77: #i113097# make Sequence(sal_Int32) explicit 2010-07-13 18:26:57 +02:00
Mathias Bauer
ca851f7231 CWS changehid: resync to m84 2010-07-13 14:38:37 +02:00
Mathias Bauer
22e9afcab5 CWS changehid: #i111874#: change code to support HelpIds as byte strings 2010-07-10 18:21:24 +02:00