diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-27 08:17:57 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-27 08:17:57 +0100 |
commit | f19a0bddc46bfea6be01feb32bc780928e86a153 (patch) | |
tree | 252712a96ef651e60b8ec4c029e7215d7deb88c2 /offapi | |
parent | 79d59827ae523183bec14ef51ada6818530be41c (diff) |
gridsort: minor changes to the new API:
- renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons
- renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
Diffstat (limited to 'offapi')
-rwxr-xr-x | offapi/com/sun/star/awt/grid/SortableGridDataModel.idl | 6 | ||||
-rwxr-xr-x | offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl | 2 | ||||
-rwxr-xr-x | offapi/com/sun/star/awt/grid/XSortableGridData.idl (renamed from offapi/com/sun/star/awt/grid/XSortableGridDataModel.idl) | 2 | ||||
-rwxr-xr-x | offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl | 4 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/grid/makefile.mk | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl b/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl index b76913bf0..2b7aca1ca 100755 --- a/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl @@ -39,11 +39,11 @@ interface XMutableGridDataModel; //================================================================================================================== -/** provides a default implementation of a <type>XSortableGridDataModel</type>. +/** provides a default implementation of a <type>XSortableGridData</type>. <p>This service must be created with a secondary grid data model, which all actual data requests are delegated to. But before providing this data to the service's own clients, it is sorted, according to the sort order defined - via the <code>XSortableGridDataModel</code> interface.</p> + via the <code>XSortableGridData</code> interface.</p> <p>The service implementation is able to compare the default scalar types, plus strings.</p> @@ -58,7 +58,7 @@ interface XMutableGridDataModel; <p>Note that changing the data might result in the sort order being destroyed. If you want to ensure that the data represented by the model is still sorted after your modifications, you should call - <member>XSortableGridDataModel::sortByColumn</member>, again.</p> + <member>XSortableGridData::sortByColumn</member>, again.</p> */ service SortableGridDataModel : XSortableMutableGridDataModel { diff --git a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl index 57409bbde..5e10820ff 100755 --- a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl @@ -116,7 +116,7 @@ interface XMutableGridDataModel : XGridDataModel if the given index does not denote a valid row. */ void - setRowHeading( [in] long RowIndex, [in] any Heading ) + updateRowHeading( [in] long RowIndex, [in] any Heading ) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ); /** updates the tooltip to be displayed for a given cell diff --git a/offapi/com/sun/star/awt/grid/XSortableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XSortableGridData.idl index f1e1cb23b..dd40d2a46 100755 --- a/offapi/com/sun/star/awt/grid/XSortableGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/XSortableGridData.idl @@ -38,7 +38,7 @@ module com { module sun { module star { module awt { module grid { /** allows to sort the data represented by a <type>XGridDataModel</type> */ -interface XSortableGridDataModel +interface XSortableGridData { /** sorts the rows represented by the model by a given column's data. diff --git a/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl index d827c903f..a07dabbbb 100755 --- a/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl @@ -28,7 +28,7 @@ #define __com_sun_star_awt_grid_XSortableMutableGridDataModel_idl__ #include <com/sun/star/awt/grid/XMutableGridDataModel.idl> -#include <com/sun/star/awt/grid/XSortableGridDataModel.idl> +#include <com/sun/star/awt/grid/XSortableGridData.idl> //================================================================================================================== @@ -49,7 +49,7 @@ interface XSortableMutableGridDataModel <p>If you set a new column sort order, the implementation will notify the registered <type>XGridDataListener</type>s via a call to its <member>XGridDataListener::dataChanged</member> method.</p> */ - interface XSortableGridDataModel; + interface XSortableGridData; }; //================================================================================================================== diff --git a/offapi/com/sun/star/awt/grid/makefile.mk b/offapi/com/sun/star/awt/grid/makefile.mk index 27daa0c1a..8499dca27 100644 --- a/offapi/com/sun/star/awt/grid/makefile.mk +++ b/offapi/com/sun/star/awt/grid/makefile.mk @@ -56,7 +56,7 @@ IDLFILES=\ UnoControlGridModel.idl\ GridInvalidDataException.idl\ GridInvalidModelException.idl\ - XSortableGridDataModel.idl\ + XSortableGridData.idl\ SortableGridDataModel.idl\ XSortableMutableGridDataModel.idl\ |