diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-09-25 12:28:23 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-09-25 12:28:23 +0000 |
commit | fe6066d957a51186f8578502e6651b55161d9b8f (patch) | |
tree | 0848d216d3739bdb287e1d8f77849599bac57627 /dbaccess/source/ui/inc | |
parent | #65293# exception solaris (diff) | |
download | core-fe6066d957a51186f8578502e6651b55161d9b8f.tar.gz core-fe6066d957a51186f8578502e6651b55161d9b8f.zip |
#91719# implementing the XRename handling
Diffstat (limited to 'dbaccess/source/ui/inc')
-rw-r--r-- | dbaccess/source/ui/inc/browserids.hxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbu_resource.hrc | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 13 |
3 files changed, 20 insertions, 6 deletions
diff --git a/dbaccess/source/ui/inc/browserids.hxx b/dbaccess/source/ui/inc/browserids.hxx index ff6540b4ef18..a6f51a35f042 100644 --- a/dbaccess/source/ui/inc/browserids.hxx +++ b/dbaccess/source/ui/inc/browserids.hxx @@ -2,9 +2,9 @@ * * $RCSfile: browserids.hxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: fs $ $Date: 2001-08-16 10:34:02 $ + * last change: $Author: oj $ $Date: 2001-09-25 13:24:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -140,6 +140,7 @@ #define ID_DIRECT_SQL 32 #define ID_TREE_QUERY_PASTE 33 #define ID_BROWSER_REFRESH_REBUILD 34 +#define ID_RENAME_ENTRY 35 diff --git a/dbaccess/source/ui/inc/dbu_resource.hrc b/dbaccess/source/ui/inc/dbu_resource.hrc index e41f3f1c0b14..fd45aa79e2ba 100644 --- a/dbaccess/source/ui/inc/dbu_resource.hrc +++ b/dbaccess/source/ui/inc/dbu_resource.hrc @@ -2,9 +2,9 @@ * * $RCSfile: dbu_resource.hrc,v $ * - * $Revision: 1.61 $ + * $Revision: 1.62 $ * - * last change: $Author: fs $ $Date: 2001-08-28 08:19:41 $ + * last change: $Author: oj $ $Date: 2001-09-25 13:24:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -451,6 +451,7 @@ #define STR_COULDNOTCONNECT_DATASOURCE RID_STRING_START + 188 #define STR_HINT_READONLY_CONNECTION RID_STRING_START + 189 #define STR_HINT_CONNECTION_NOT_CAPABLE RID_STRING_START + 190 +#define STR_OBJECT_ALREADY_EXISTS RID_STRING_START + 191 //======================================================================== // untyped resources @@ -465,6 +466,9 @@ /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.61 2001/08/28 08:19:41 fs + * #91573# STR_HINT_READONLY_CONNECTION / STR_HINT_CONNECTION_NOT_CAPABL + * * Revision 1.60 2001/08/16 10:37:03 fs * #90573# +RID_MENU_REFRESH_DATA * diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index 307db3dfa801..e5b92a67125f 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unodatbr.hxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $ + * last change: $Author: oj $ $Date: 2001-09-25 13:24:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -116,6 +116,7 @@ namespace dbaui class DBTreeView; class DBTreeListModel; + struct DBTreeEditedEntry; // ===================================================================== typedef ::cppu::ImplHelper2 < ::com::sun::star::frame::XStatusListener , ::com::sun::star::view::XSelectionSupplier @@ -332,6 +333,7 @@ namespace dbaui void implCreateObject( SvLBoxEntry* _pApplyTo, sal_uInt16 _nAction ); void implRemoveQuery( SvLBoxEntry* _pApplyTo ); void implDropTable( SvLBoxEntry* _pApplyTo ); + void implRenameEntry( SvLBoxEntry* _pApplyTo ); void implPasteTable( SvLBoxEntry* _pApplyTo, const TransferableDataHelper& _rPasteData ); void implPasteQuery( SvLBoxEntry* _pApplyTo, const TransferableDataHelper& _rPasteData ); @@ -359,6 +361,8 @@ namespace dbaui DECL_LINK( OnCopyEntry, SvLBoxEntry* ); DECL_LINK( OnPasteEntry, SvLBoxEntry* ); DECL_LINK( OnDeleteEntry, SvLBoxEntry* ); + DECL_LINK( OnEditingEntry, SvLBoxEntry* ); + DECL_LINK( OnEditedEntry, DBTreeEditedEntry* ); DECL_LINK( OnTreeEntryCompare, const SvSortData* ); DECL_LINK( OnAsyncDrop, void* ); @@ -450,6 +454,11 @@ namespace dbaui void cutEntry(SvLBoxEntry* _pEntry); void copyEntry(SvLBoxEntry* _pEntry); void pasteEntry(SvLBoxEntry* _pEntry); + // check if the connection where this entry belongs to is writeable + // Entry must be table or view type + sal_Bool isConnectionWriteAble(SvLBoxEntry* _pEntry) const; + void ensureObjectExists(SvLBoxEntry* _pApplyTo); + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> getConnectionFromEntry(SvLBoxEntry* _pEntry) const; }; // ......................................................................... |