Files
libreoffice/dbaccess/source/ui/app/AppController.cxx

2385 lines
98 KiB
C++
Raw Normal View History

INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* $RCSfile: AppController.cxx,v $
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* $Revision: 1.24 $
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* last change: $Author: rt $ $Date: 2005-10-24 08:30:07 $
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
*
************************************************************************/
#ifndef DBAUI_APPCONTROLLER_HXX
#include "AppController.hxx"
#endif
#ifndef DBACCESS_SHARED_DBUSTRINGS_HRC
#include "dbustrings.hrc"
#endif
/** === begin UNO includes === **/
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
#include <com/sun/star/container/XNameContainer.hpp>
#endif
#ifndef _COM_SUN_STAR_CONTAINER_XHIERARCHICALNAMEACCESS_HPP_
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#endif
#ifndef _COM_SUN_STAR_UNO_XNAMINGSERVICE_HPP_
#include <com/sun/star/uno/XNamingService.hpp>
#endif
#ifndef _COM_SUN_STAR_SDBC_XDATASOURCE_HPP_
#include <com/sun/star/sdbc/XDataSource.hpp>
#endif
#ifndef _COM_SUN_STAR_CONTAINER_XCHILD_HPP_
#include <com/sun/star/container/XChild.hpp>
#endif
#ifndef _COM_SUN_STAR_CONTAINER_XCONTAINER_HPP_
#include <com/sun/star/container/XContainer.hpp>
#endif
#ifndef _COM_SUN_STAR_SDB_XBOOKMARKSSUPPLIER_HPP_
#include <com/sun/star/sdb/XBookmarksSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_SDBCX_XAPPEND_HPP_
#include <com/sun/star/sdbcx/XAppend.hpp>
#endif
#ifndef _COM_SUN_STAR_SDB_XOFFICEDATABASEDOCUMENT_HPP_
#include <com/sun/star/sdb/XOfficeDatabaseDocument.hpp>
#endif
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef _COM_SUN_STAR_SDBCX_XTABLESSUPPLIER_HPP_
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_SDBCX_XRENAME_HPP_
#include <com/sun/star/sdbcx/XRename.hpp>
#endif
#ifndef _COM_SUN_STAR_SDBCX_XVIEWSSUPPLIER_HPP_
#include <com/sun/star/sdbcx/XViewsSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_SDB_COMMANDTYPE_HPP_
#include <com/sun/star/sdb/CommandType.hpp>
#endif
#include <com/sun/star/sdb/SQLContext.hpp>
#ifndef _COM_SUN_STAR_SDB_XQUERYDEFINITIONSSUPPLIER_HPP_
#include <com/sun/star/sdb/XQueryDefinitionsSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XNUMBERFORMATTER_HPP_
#include <com/sun/star/util/XNumberFormatter.hpp>
#endif
#ifndef _COM_SUN_STAR_CONTAINER_XHIERARCHICALNAMECONTAINER_HPP_
#include <com/sun/star/container/XHierarchicalNameContainer.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XMODIFYBROADCASTER_HPP_
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XMODIFIABLE_HPP_
#include <com/sun/star/util/XModifiable.hpp>
#endif
#ifndef _COM_SUN_STAR_FRAME_XSTORABLE_HPP_
#include <com/sun/star/frame/XStorable.hpp>
#endif
#ifndef _COM_SUN_STAR_FRAME_FRAMESEARCHFLAG_HPP_
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XFLUSHABLE_HPP_
#include <com/sun/star/util/XFlushable.hpp>
#endif
/** === end UNO includes === **/
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx>
#endif
#ifndef SVTOOLS_URIHELPER_HXX
#include <svtools/urihelper.hxx>
#endif
#ifndef _COMPHELPER_TYPES_HXX_
#include <comphelper/types.hxx>
#endif
#ifndef _SV_MSGBOX_HXX
#include <vcl/msgbox.hxx>
#endif
#ifndef _FILEDLGHELPER_HXX
#include <sfx2/filedlghelper.hxx>
#endif
#ifndef _CPPUHELPER_TYPEPROVIDER_HXX_
#include <cppuhelper/typeprovider.hxx>
#endif
#ifndef _CONNECTIVITY_DBTOOLS_HXX_
#include <connectivity/dbtools.hxx>
#endif
#ifndef DBAUI_APPVIEW_HXX
#include "AppView.hxx"
#endif
#ifndef DBACCESS_UI_BROWSER_ID_HXX
#include "browserids.hxx"
#endif
#ifndef _DBAU_REGHELPER_HXX_
#include "dbu_reghelper.hxx"
#endif
#ifndef _DBU_APP_HRC_
#include "dbu_app.hrc"
#endif
#ifndef _SV_MENU_HXX
#include <vcl/menu.hxx>
#endif
#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX
#include <svtools/pathoptions.hxx>
#endif
#ifndef INCLUDED_SVTOOLS_INTERNALOPTIONS_HXX
#include <svtools/internaloptions.hxx>
#endif
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef _COMPHELPER_UNO3_HXX_
#include <comphelper/uno3.hxx>
#endif
#ifndef _DBAUI_QUERYDESIGNACCESS_HXX_
#include "querydesignaccess.hxx"
#endif
#ifndef _SV_SVAPP_HXX //autogen
#include <vcl/svapp.hxx>
#endif
#ifndef _SVLBOXITM_HXX
#include <svtools/svlbitm.hxx>
#endif
#ifndef _DBAUI_LISTVIEWITEMS_HXX_
#include "listviewitems.hxx"
#endif
#ifndef DBAUI_APPDETAILVIEW_HXX
#include "AppDetailView.hxx"
#endif
#ifndef _DBAUI_LINKEDDOCUMENTS_HXX_
#include "linkeddocuments.hxx"
#endif
#ifndef _SV_LSTBOX_HXX
#include <vcl/lstbox.hxx>
#endif
#ifndef _DBHELPER_DBEXCEPTION_HXX_
#include <connectivity/dbexception.hxx>
#endif
#ifndef _DBAUI_SQLMESSAGE_HXX_
#include "sqlmessage.hxx"
#endif
#ifndef _STRING_HXX
#include <tools/string.hxx>
#endif
#ifndef INCLUDED_SFX_MAILMODELAPI_HXX
#include <sfx2/mailmodelapi.hxx>
#endif
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef INCLUDED_SVTOOLS_MODULEOPTIONS_HXX
#include <svtools/moduleoptions.hxx>
#endif
#ifndef _SVTREEBOX_HXX
#include <svtools/svtreebx.hxx>
#endif
#ifndef _TRANSFER_HXX
#include <svtools/transfer.hxx>
#endif
#ifndef _CLIPLISTENER_HXX
#include <svtools/cliplistener.hxx>
#endif
#ifndef _SVX_DBAEXCHANGE_HXX_
#include <svx/dbaexchange.hxx>
#endif
#ifndef SVX_DBAOBJECTEX_HXX
#include <svx/dbaobjectex.hxx>
#endif
#ifndef _DBAUI_DLGRENAME_HXX
#include "dlgrename.hxx"
#endif
#ifndef DBAUI_TOOLS_HXX
#include "UITools.hxx"
#endif
#ifndef _DBAUI_DSNTYPES_HXX_
#include "dsntypes.hxx"
#endif
#ifndef _PASTEDLG_HXX
#include <so3/pastedlg.hxx>
#endif
#ifndef _UNOTOOLS_TEMPFILE_HXX
#include <unotools/tempfile.hxx>
#endif
#ifndef _DBA_DBACCESS_HELPID_HRC_
#include "dbaccess_helpid.hrc"
#endif
#ifndef DBAUI_DLGSAVE_HXX
#include "dlgsave.hxx"
#endif
#ifndef _SFX_DOCFILT_HACK_HXX
#include <sfx2/docfilt.hxx>
#endif
#ifndef SFX_QUERYSAVEDOCUMENT_HXX
#include <sfx2/QuerySaveDocument.hxx>
#endif
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#ifndef INCLUDED_SVTOOLS_HISTORYOPTIONS_HXX
#include <svtools/historyoptions.hxx>
#endif
#ifndef SVTOOLS_FILENOTATION_HXX_
#include <svtools/filenotation.hxx>
#endif
#ifndef _COMPHELPER_SEQUENCE_HXX_
#include <comphelper/sequence.hxx>
#endif
#ifndef _DBACCESS_SLOTID_HRC_
#include "dbaccess_slotid.hrc"
#endif
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
#include <algorithm>
#include <functional>
#define APP_SIZE_WIDTH 350
#define APP_SIZE_HEIGHT 250
extern "C" void SAL_CALL createRegistryInfo_ODBApplication()
{
static ::dbaui::OMultiInstanceAutoRegistration< ::dbaui::OApplicationController > aAutoRegistration;
}
//........................................................................
namespace dbaui
{
//........................................................................
using namespace ::dbtools;
using namespace ::svx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::sdb;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::datatransfer;
//------------------------------------------------------------------------------
::rtl::OUString SAL_CALL OApplicationController::getImplementationName() throw( RuntimeException )
{
return getImplementationName_Static();
}
//------------------------------------------------------------------------------
::rtl::OUString OApplicationController::getImplementationName_Static() throw( RuntimeException )
{
return ::rtl::OUString(SERVICE_SDB_APPLICATIONCONTROLLER);
}
//------------------------------------------------------------------------------
Sequence< ::rtl::OUString> OApplicationController::getSupportedServiceNames_Static(void) throw( RuntimeException )
{
Sequence< ::rtl::OUString> aSupported(1);
aSupported.getArray()[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.ApplicationController");
return aSupported;
}
//-------------------------------------------------------------------------
Sequence< ::rtl::OUString> SAL_CALL OApplicationController::getSupportedServiceNames() throw(RuntimeException)
{
return getSupportedServiceNames_Static();
}
// -------------------------------------------------------------------------
Reference< XInterface > SAL_CALL OApplicationController::Create(const Reference<XMultiServiceFactory >& _rxFactory)
{
return *(new OApplicationController(_rxFactory));
}
// -----------------------------------------------------------------------------
struct XContainerFunctor : public ::std::unary_function< OApplicationController::TContainerVector::value_type , bool>
{
Reference<XContainerListener> m_xContainerListener;
XContainerFunctor( const Reference<XContainerListener>& _xContainerListener)
: m_xContainerListener(_xContainerListener){}
bool operator() (const OApplicationController::TContainerVector::value_type& lhs) const
{
if ( lhs.is() )
lhs->removeContainerListener(m_xContainerListener);
return true;
}
};
//====================================================================
//= OApplicationController
//====================================================================
DBG_NAME(OApplicationController)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
//--------------------------------------------------------------------
OApplicationController::OApplicationController(const Reference< XMultiServiceFactory >& _rxORB)
:OApplicationController_CBASE( _rxORB )
,m_bSuspended( sal_False )
,m_pClipbordNotifier(NULL)
,m_nAsyncDrop(0)
,m_ePreviewMode(E_PREVIEWNONE)
,m_bNeedToReconnect(sal_False)
,m_bPreviewEnabled(sal_True)
,m_eOldType(E_NONE)
,m_aTableCopyHelper(this)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
DBG_CTOR(OApplicationController,NULL);
m_aTypeCollection.initUserDriverTypes(_rxORB);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
//------------------------------------------------------------------------------
OApplicationController::~OApplicationController()
{
if ( !rBHelper.bDisposed && !rBHelper.bInDispose )
{
OSL_ENSURE(0,"Please check who doesn't dispose this component!");
// increment ref count to prevent double call of Dtor
osl_incrementInterlockedCount( &m_refCount );
dispose();
}
::std::auto_ptr< Window> aTemp(m_pView);
m_pView = NULL;
DBG_DTOR(OApplicationController,NULL);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
//--------------------------------------------------------------------
IMPLEMENT_FORWARD_XTYPEPROVIDER2(OApplicationController,OApplicationController_CBASE,OApplicationController_Base)
IMPLEMENT_FORWARD_XINTERFACE2(OApplicationController,OApplicationController_CBASE,OApplicationController_Base)
// -----------------------------------------------------------------------------
void OApplicationController::disconnect()
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
if ( m_xDataSourceConnection.is() )
stopConnectionListening( m_xDataSourceConnection );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
try
{
// temporary (hopefully!) hack for #i55274#
Reference< XFlushable > xFlush( m_xDataSourceConnection, UNO_QUERY );
if ( xFlush.is() )
xFlush->flush();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
catch( const Exception& e )
{
#if OSL_DEBUG_LEVEL > 0
::rtl::OString sMessage( "OApplicationController::disconnect: caught an exception!\n" );
sMessage += "message:\n";
sMessage += ::rtl::OString( e.Message.getStr(), e.Message.getLength(), osl_getThreadTextEncoding() );
OSL_ENSURE( false, sMessage );
#else
e; // make compiler happy
#endif
}
m_xDataSourceConnection.clear();
m_xMetaData.clear();
InvalidateAll();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
//--------------------------------------------------------------------
void SAL_CALL OApplicationController::disposing()
{
::std::for_each(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),XContainerFunctor(this));
m_aCurrentContainers.clear();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
m_aDocuments.clear();
if ( getView() )
{
getContainer()->showPreview(NULL);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
m_pClipbordNotifier->ClearCallbackLink();
m_pClipbordNotifier->AddRemoveListener( getView(), sal_False );
m_pClipbordNotifier->release();
m_pClipbordNotifier = NULL;
}
disconnect();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
try
{
Reference < XFrame > xFrame;
attachFrame( xFrame );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( m_xDataSource.is() )
{
m_xDataSource->removePropertyChangeListener(::rtl::OUString(), this);
// otherwise we may delete our datasource twice
Reference<XPropertySet> xProp = m_xDataSource;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
m_xDataSource = NULL;
}
Reference< XModifyBroadcaster > xBroadcaster( m_xModel, UNO_QUERY );
if ( xBroadcaster.is() )
xBroadcaster->removeModifyListener(static_cast<XModifyListener*>(this));
if ( m_xModel.is() )
{
::rtl::OUString sUrl = m_xModel->getURL();
if ( sUrl.getLength() )
{
::rtl::OUString aFilter;
INetURLObject aURL( m_xModel->getURL() );
const SfxFilter* pFilter = getStandardDatabaseFilter();
if ( pFilter )
aFilter = pFilter->GetFilterName();
// add to svtool history options
SvtHistoryOptions().AppendItem( ePICKLIST,
aURL.GetURLNoPass( INetURLObject::NO_DECODE ),
aFilter,
getStrippedDatabaseName(),
::rtl::OUString() );
}
m_aModelConnector.clear();
m_xModel.clear();
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
catch(Exception)
{
}
m_pView = NULL;
OApplicationController_CBASE::disposing();
}
//--------------------------------------------------------------------
sal_Bool OApplicationController::Construct(Window* _pParent)
{
m_pView = new OApplicationView(_pParent,getORB(),this,this,this,this,this,this,m_ePreviewMode);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
m_pView->SetUniqueId(UID_APP_VIEW);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
// late construction
sal_Bool bSuccess = sal_False;
try
{
getContainer()->Construct();
bSuccess = sal_True;
}
catch(SQLException&)
{
}
catch(Exception&)
{
DBG_ERROR("OApplicationController::Construct : the construction of UnoDataBrowserView failed !");
}
if ( !bSuccess )
{
::std::auto_ptr< Window> aTemp(m_pView);
m_pView = NULL;
return sal_False;
}
DBG_ASSERT( getView(), "OApplicationController::Construct: have no view!" );
if ( getView() )
getView()->enableSeparator( );
// now that we have a view we can create the clipboard listener
m_aSystemClipboard = TransferableDataHelper::CreateFromSystemClipboard( getView() );
m_aSystemClipboard.StartClipboardListening( );
m_pClipbordNotifier = new TransferableClipboardListener( LINK( this, OApplicationController, OnClipboardChanged ) );
m_pClipbordNotifier->acquire();
m_pClipbordNotifier->AddRemoveListener( getView(), sal_True );
OApplicationController_CBASE::Construct( _pParent );
getView()->Show();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
return sal_True;
}
//--------------------------------------------------------------------
void SAL_CALL OApplicationController::disposing(const EventObject& _rSource) throw( RuntimeException )
{
::osl::MutexGuard aGuard(m_aMutex);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
Reference<XConnection> xCon(_rSource.Source, UNO_QUERY);
if ( xCon.is() )
{
DBG_ASSERT( ( m_xDataSourceConnection == xCon ) && getContainer() && ( getContainer()->getElementType() == E_TABLE ),
"OApplicationController::disposing: the below code will ignore this call - why?" );
if ( getContainer() && getContainer()->getElementType() == E_TABLE )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
if ( m_xDataSourceConnection == xCon )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
getContainer()->clearPages();
m_xDataSourceConnection.clear();
m_xMetaData.clear();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
}
else if ( _rSource.Source == m_xModel )
{
m_xModel.clear();
m_aModelConnector.clear();
}
else if ( _rSource.Source == m_xDataSource )
{
m_xDataSource = NULL;
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
else
{
Reference<XComponent> xComp(_rSource.Source,UNO_QUERY);
Reference<XContainer> xContainer(_rSource.Source,UNO_QUERY);
if ( xComp.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
TDocuments::iterator aFind = ::std::find_if(m_aDocuments.begin(),m_aDocuments.end(),
::std::compose1(::std::bind2nd(::std::equal_to<Reference<XComponent> >(),xComp),::std::select1st<TDocuments::value_type>()));
if ( aFind != m_aDocuments.end() )
{
m_aDocuments.erase(aFind);
}
}
else if ( xContainer.is() )
{
TContainerVector::iterator aFind = ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer);
if ( aFind != m_aCurrentContainers.end() )
{
m_aCurrentContainers.erase(aFind);
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
else
OApplicationController_CBASE::disposing( _rSource );
}
}
//--------------------------------------------------------------------
sal_Bool SAL_CALL OApplicationController::suspend(sal_Bool bSuspend) throw( RuntimeException )
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
::osl::MutexGuard aGuard(m_aMutex);
sal_Bool bCanSuspend = sal_True;
if ( m_bSuspended != bSuspend )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
if ( bSuspend && !suspendDocuments( bSuspend ))
return sal_False;
Reference<XModifiable> xModi(m_xModel,UNO_QUERY);
Reference<XStorable> xStor(getModel(),UNO_QUERY);
if ( bSuspend
&& xStor.is()
&& !xStor->isReadonly()
&& ( m_bCurrentlyModified
|| ( xModi.is()
&& xModi->isModified()
)
)
)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
switch (ExecuteQuerySaveDocument(getView(),getStrippedDatabaseName()))
{
case RET_YES:
Execute(ID_BROWSER_SAVEDOC,Sequence<PropertyValue>());
bCanSuspend = !xModi->isModified();
// when we save the document this must be false else some press cancel
break;
case RET_CANCEL:
bCanSuspend = sal_False;
default:
break;
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
if ( bCanSuspend )
m_bSuspended = bSuspend;
return bCanSuspend;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
FeatureState OApplicationController::GetState(sal_uInt16 _nId) const
{
FeatureState aReturn;
aReturn.bEnabled = sal_False;
// check this first
if ( !getContainer() || m_bReadOnly )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
return aReturn;
try
{
switch (_nId)
{
case ID_BROWSER_COPY:
{
sal_Int32 nCount = getContainer()->getSelectionCount();
aReturn.bEnabled = nCount >= 1;
if ( aReturn.bEnabled && nCount == 1 && getContainer()->getElementType() == E_TABLE )
aReturn.bEnabled = getContainer()->isALeafSelected();
}
break;
case ID_BROWSER_CUT:
aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() >= 1;
aReturn.bEnabled = aReturn.bEnabled && ( (ID_BROWSER_CUT == _nId && getContainer()->getElementType() == E_TABLE) ? getContainer()->isCutAllowed() : sal_True);
break;
case ID_BROWSER_PASTE:
switch( getContainer()->getElementType() )
{
case E_TABLE:
aReturn.bEnabled = !isDataSourceReadOnly() && !isConnectionReadOnly() && isTableFormat();
break;
case E_QUERY:
aReturn.bEnabled = !isDataSourceReadOnly() && getViewClipboard().HasFormat(SOT_FORMATSTR_ID_DBACCESS_QUERY);
break;
default:
aReturn.bEnabled = !isDataSourceReadOnly() && OComponentTransferable::canExtractComponentDescriptor(getViewClipboard().GetDataFlavorExVector(),getContainer()->getElementType() == E_FORM);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
case SID_DB_APP_PASTE_SPECIAL:
aReturn.bEnabled = getContainer()->getElementType() == E_TABLE && !isDataSourceReadOnly() && !isConnectionReadOnly() && isTableFormat();
break;
case SID_OPENDOC:
case SID_HELP_INDEX:
aReturn.bEnabled = sal_True;
break;
case ID_BROWSER_SAVEDOC:
aReturn.bEnabled = !isDataSourceReadOnly() && m_bCurrentlyModified;
break;
case ID_BROWSER_SAVEASDOC:
aReturn.bEnabled = sal_True;
break;
case ID_BROWSER_SORTUP:
aReturn.bEnabled = getContainer()->isFilled() && getContainer()->getElementCount();
aReturn.aState <<= (aReturn.bEnabled && getContainer()->isSortUp());
break;
case ID_BROWSER_SORTDOWN:
aReturn.bEnabled = getContainer()->isFilled() && getContainer()->getElementCount();
aReturn.aState <<= (aReturn.bEnabled && !getContainer()->isSortUp());
break;
case SID_NEWDOC:
case SID_APP_NEW_FORM:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case ID_DOCUMENT_CREATE_REPWIZ:
aReturn.bEnabled = !isDataSourceReadOnly() && SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SWRITER);
break;
case SID_DB_APP_VIEW_TABLES:
aReturn.bEnabled = sal_True;
aReturn.aState <<= getContainer()->getElementType() == E_TABLE;
break;
case SID_DB_APP_VIEW_QUERIES:
aReturn.bEnabled = sal_True;
aReturn.aState <<= getContainer()->getElementType() == E_QUERY;
break;
case SID_DB_APP_VIEW_FORMS:
aReturn.bEnabled = sal_True;
aReturn.aState <<= getContainer()->getElementType() == E_FORM;
break;
case SID_DB_APP_VIEW_REPORTS:
aReturn.bEnabled = sal_True;
aReturn.aState <<= getContainer()->getElementType() == E_REPORT;
break;
case ID_NEW_QUERY_DESIGN:
case ID_NEW_QUERY_SQL:
case ID_APP_NEW_QUERY_AUTO_PILOT:
case SID_DB_FORM_NEW_PILOT:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = !isDataSourceReadOnly();
break;
case ID_NEW_VIEW_DESIGN:
case SID_DB_NEW_VIEW_SQL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case ID_NEW_VIEW_DESIGN_AUTO_PILOT:
aReturn.bEnabled = !isDataSourceReadOnly() && !isConnectionReadOnly();
if ( aReturn.bEnabled )
{
Reference<XViewsSupplier> xViewsSup( getConnection(), UNO_QUERY );
aReturn.bEnabled = xViewsSup.is();
}
break;
case ID_NEW_TABLE_DESIGN:
case ID_NEW_TABLE_DESIGN_AUTO_PILOT:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = !isDataSourceReadOnly() && !isConnectionReadOnly();
break;
case ID_DIRECT_SQL:
aReturn.bEnabled = sal_True;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_APP_NEW_FOLDER:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() <= 1;
if ( aReturn.bEnabled )
{
ElementType eType = getContainer()->getElementType();
aReturn.bEnabled = eType == E_REPORT || eType == E_FORM;
}
break;
case SID_FORM_CREATE_REPWIZ_PRE_SEL:
case SID_REPORT_CREATE_REPWIZ_PRE_SEL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = !isDataSourceReadOnly()
&& SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SWRITER)
&& getContainer()->isALeafSelected();
if ( aReturn.bEnabled )
{
ElementType eType = getContainer()->getElementType();
aReturn.bEnabled = eType == E_QUERY || eType == E_TABLE;
}
break;
case SID_DB_APP_DELETE:
case SID_DB_APP_RENAME:
aReturn.bEnabled = isRenameDeleteAllowed(getContainer()->getElementType(), _nId == SID_DB_APP_DELETE);
break;
case SID_DB_APP_TABLE_DELETE:
case SID_DB_APP_TABLE_RENAME:
aReturn.bEnabled = isRenameDeleteAllowed(E_TABLE, _nId == SID_DB_APP_TABLE_DELETE);
break;
case SID_DB_APP_QUERY_DELETE:
case SID_DB_APP_QUERY_RENAME:
aReturn.bEnabled = isRenameDeleteAllowed(E_QUERY, _nId == SID_DB_APP_QUERY_DELETE);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_FORM_DELETE:
case SID_DB_APP_FORM_RENAME:
aReturn.bEnabled = isRenameDeleteAllowed(E_FORM, _nId == SID_DB_APP_FORM_DELETE);
break;
case SID_DB_APP_REPORT_DELETE:
case SID_DB_APP_REPORT_RENAME:
aReturn.bEnabled = isRenameDeleteAllowed(E_REPORT, _nId == SID_DB_APP_REPORT_DELETE);
break;
case SID_SELECTALL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = getContainer()->getElementCount() > 0 && getContainer()->getSelectionCount() != getContainer()->getElementCount();
break;
case SID_DB_APP_EDIT:
case SID_DB_APP_TABLE_EDIT:
case SID_DB_APP_QUERY_EDIT:
case SID_DB_APP_FORM_EDIT:
case SID_DB_APP_REPORT_EDIT:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() > 0
&& getContainer()->isALeafSelected();
break;
case SID_DB_APP_OPEN:
case SID_DB_APP_TABLE_OPEN:
case SID_DB_APP_QUERY_OPEN:
case SID_DB_APP_FORM_OPEN:
case SID_DB_APP_REPORT_OPEN:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = getContainer()->getSelectionCount() > 0 && getContainer()->isALeafSelected();
break;
case SID_DB_APP_DSUSERADMIN:
{
ODsnTypeCollection aTypeCollection;
DATASOURCE_TYPE eType = aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL)));
aReturn.bEnabled = DST_EMBEDDED != eType;
}
break;
case SID_DB_APP_DSRELDESIGN:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = sal_True;
break;
case SID_DB_APP_TABLEFILTER:
aReturn.bEnabled = !isDataSourceReadOnly();
break;
case SID_DB_APP_REFRESH_TABLES:
aReturn.bEnabled = getContainer()->getElementType() == E_TABLE && isConnected();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_DSPROPS:
if ( aReturn.bEnabled = m_xDataSource.is() )
{
DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL)));
aReturn.bEnabled = DST_EMBEDDED != eType && DST_MOZILLA != eType && DST_EVOLUTION != eType && DST_OUTLOOK != eType && DST_OUTLOOKEXP != eType;
}
break;
case SID_DB_APP_DSCONNECTION_TYPE:
if ( aReturn.bEnabled = !isDataSourceReadOnly() && m_xDataSource.is() )
{
DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL)));
aReturn.bEnabled = DST_EMBEDDED != eType;
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_DSADVANCED_SETTINGS:
if ( aReturn.bEnabled = m_xDataSource.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL)));
aReturn.bEnabled = DST_EMBEDDED != eType && DST_LDAP != eType && DST_CALC != eType && DST_MOZILLA != eType && DST_THUNDERBIRD != eType && DST_EVOLUTION != eType && DST_OUTLOOK != eType && DST_OUTLOOKEXP != eType;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
case SID_DB_APP_CONVERTTOVIEW:
aReturn.bEnabled = !isDataSourceReadOnly();
if ( aReturn.bEnabled )
{
ElementType eType = getContainer()->getElementType();
aReturn.bEnabled = eType == E_QUERY && getContainer()->getSelectionCount() > 0;
if ( aReturn.bEnabled )
{
Reference<XViewsSupplier> xViewSup( getConnection(), UNO_QUERY );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = xViewSup.is() && Reference<XAppend>(xViewSup->getViews(),UNO_QUERY).is();
}
}
break;
case SID_DB_APP_DISABLE_PREVIEW:
aReturn.bEnabled = !isDataSourceReadOnly();
aReturn.aState <<= getContainer()->getPreviewMode() == E_PREVIEWNONE;
break;
case SID_DB_APP_VIEW_DOCINFO_PREVIEW:
{
ElementType eType = getContainer()->getElementType();
aReturn.bEnabled = !isDataSourceReadOnly() && (E_REPORT == eType || E_FORM == eType);
aReturn.aState <<= getContainer()->getPreviewMode() == E_DOCUMENTINFO;
}
break;
case SID_DB_APP_VIEW_DOC_PREVIEW:
aReturn.bEnabled = !isDataSourceReadOnly();
aReturn.aState <<= getContainer()->getPreviewMode() == E_DOCUMENT;
break;
case ID_BROWSER_UNDO:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
aReturn.bEnabled = sal_False;
break;
case SID_MAIL_SENDDOC:
aReturn.bEnabled = sal_True;
break;
case SID_DB_APP_SENDREPORTASMAIL:
{
ElementType eType = getContainer()->getElementType();
aReturn.bEnabled = E_REPORT == eType && getContainer()->getSelectionCount() > 0 && getContainer()->isALeafSelected();
}
break;
case SID_DB_APP_SENDREPORTTOWRITER:
case SID_DB_APP_DBADMIN:
aReturn.bEnabled = sal_False;
break;
case SID_DB_APP_STATUS_TYPE:
if ( aReturn.bEnabled = m_xDataSource.is() )
{
DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL)));
::rtl::OUString sDSTypeName = m_aTypeCollection.getTypeDisplayName(eType);
aReturn.aState <<= sDSTypeName;
}
break;
case SID_DB_APP_STATUS_DBNAME:
if ( aReturn.bEnabled = m_xDataSource.is() )
{
::rtl::OUString sTemp;
m_xDataSource->getPropertyValue(PROPERTY_URL) >>= sTemp;
DATASOURCE_TYPE eType = m_aTypeCollection.getType(sTemp);
String sDatabaseName;
if ( eType != DST_EMBEDDED )
{
String sUser,sHostName,ssTemp;
ssTemp = sTemp;
sal_Int32 nPortNumber = -1;
m_aTypeCollection.extractHostNamePort(ssTemp
,sDatabaseName
,sHostName
,nPortNumber);
if ( !sDatabaseName.Len() )
sDatabaseName = m_aTypeCollection.cutPrefix(sTemp);
if ( m_aTypeCollection.isFileSystemBased(eType) )
{
sDatabaseName = SvtPathOptions().SubstituteVariable( sDatabaseName );
if ( sDatabaseName.Len() )
{
::svt::OFileNotation aFileNotation(sDatabaseName);
// set this decoded URL as text
sDatabaseName = aFileNotation.get(::svt::OFileNotation::N_SYSTEM);
}
}
}
else
sDatabaseName = m_aTypeCollection.getEmbeddedDatabaseUIName(getORB());
aReturn.aState <<= ::rtl::OUString(sDatabaseName);
}
break;
case SID_DB_APP_STATUS_USERNAME:
if ( aReturn.bEnabled = m_xDataSource.is() )
aReturn.aState = m_xDataSource->getPropertyValue(PROPERTY_USER);
break;
case SID_DB_APP_STATUS_HOSTNAME:
if ( aReturn.bEnabled = m_xDataSource.is() )
{
::rtl::OUString sTemp;
m_xDataSource->getPropertyValue(PROPERTY_URL) >>= sTemp;
DATASOURCE_TYPE eType = m_aTypeCollection.getType(sTemp);
if ( eType != DST_EMBEDDED )
{
String sUser,sHostName,sDatabaseName,ssTemp;
ssTemp = sTemp;
sal_Int32 nPortNumber = -1;
m_aTypeCollection.extractHostNamePort(ssTemp
,sDatabaseName
,sHostName
,nPortNumber);
aReturn.aState <<= ::rtl::OUString(sHostName);
}
}
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
default:
aReturn = OApplicationController_CBASE::GetState(_nId);
}
}
catch(Exception& e)
{
#if DBG_UTIL
String sMessage("OApplicationController::GetState(", RTL_TEXTENCODING_ASCII_US);
sMessage += String::CreateFromInt32(_nId);
sMessage.AppendAscii(") : caught an exception ! message : ");
sMessage += (const sal_Unicode*)e.Message;
DBG_ERROR(ByteString(sMessage, gsl_getSystemTextEncoding()).GetBuffer());
#else
e; // make compiler happy
#endif
}
return aReturn;
}
// -----------------------------------------------------------------------------
void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& aArgs)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
::osl::MutexGuard aGuard(m_aMutex);
if ( !getContainer() || m_bReadOnly )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
return; // return without execution
try
{
switch(_nId)
{
case ID_BROWSER_CUT:
getContainer()->cut();
break;
case ID_BROWSER_COPY:
{
TransferableHelper* pTransfer = copyObject( );
Reference< XTransferable> aEnsureDelete = pTransfer;
if ( pTransfer )
pTransfer->CopyToClipboard(getView());
}
break;
case ID_BROWSER_PASTE:
{
TransferableDataHelper aTransferData(TransferableDataHelper::CreateFromSystemClipboard(getView()));
ElementType eType = getContainer()->getElementType();
switch( eType )
{
case E_TABLE:
m_aTableCopyHelper.pasteTable( aTransferData , getDatabaseName(), ensureConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case E_QUERY:
if ( getViewClipboard().HasFormat(SOT_FORMATSTR_ID_DBACCESS_QUERY) )
paste( E_QUERY,ODataAccessObjectTransferable::extractObjectDescriptor(aTransferData) );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
default:
{
::std::vector< ::rtl::OUString> aList;
getSelectionElementNames(aList);
::rtl::OUString sFolderNameToInsertInto;
if ( !aList.empty() )
{
Reference< XHierarchicalNameAccess > xContainer(getElements(eType),UNO_QUERY);
if ( xContainer.is()
&& xContainer->hasByHierarchicalName(*aList.begin())
&& (xContainer->getByHierarchicalName(*aList.begin()) >>= xContainer)
&& xContainer.is()
)
sFolderNameToInsertInto = *aList.begin();
}
paste( eType,OComponentTransferable::extractComponentDescriptor(aTransferData),sFolderNameToInsertInto );
}
break;
}
}
break;
case SID_DB_APP_PASTE_SPECIAL:
{
if ( !aArgs.getLength() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
SvPasteObjectDialog aDlg;
::std::vector<SotFormatStringId> aFormatIds;
getSupportedFormats(getContainer()->getElementType(),aFormatIds);
::std::vector<SotFormatStringId>::iterator aEnd = aFormatIds.end();
for (::std::vector<SotFormatStringId>::iterator aIter = aFormatIds.begin();aIter != aEnd; ++aIter)
{
aDlg.Insert(*aIter,SvPasteObjectDialog::GetSotFormatUIName(*aIter));
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
const TransferableDataHelper& rClipboard = getViewClipboard();
pasteFormat(aDlg.Execute(getView(),rClipboard.GetTransferable()));
}
else
{
const PropertyValue* pIter = aArgs.getConstArray();
const PropertyValue* pEnd = pIter + aArgs.getLength();
for( ; pIter != pEnd ; ++pIter)
{
if ( pIter->Name.equalsAscii("FormatStringId") )
{
SotFormatStringId nFormatId = -1;
if ( pIter->Value >>= nFormatId )
pasteFormat(nFormatId);
break;
}
}
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
case SID_OPENDOC:
case SID_HELP_INDEX:
{
Reference < XDispatchProvider > xProv( getFrame(), UNO_QUERY );
if ( xProv.is() )
{
URL aURL;
switch(_nId)
{
case SID_HELP_INDEX:
aURL.Complete = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:HelpIndex"));
break;
case SID_OPENDOC:
aURL.Complete = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:Open"));
break;
}
if ( m_xUrlTransformer.is() )
m_xUrlTransformer->parseStrict( aURL );
Reference < XDispatch > xDisp = xProv->queryDispatch( aURL, String(), 0 );
if ( xDisp.is() )
xDisp->dispatch( aURL, Sequence < PropertyValue >() );
}
}
break;
case ID_BROWSER_SAVEDOC:
{
Reference<XStorable> xStore(m_xModel,UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xStore.is() )
{
xStore->store();
m_bCurrentlyModified = sal_False;
}
}
break;
case ID_BROWSER_SAVEASDOC:
{
WinBits nBits(WB_STDMODAL|WB_SAVEAS);
::rtl::OUString sUrl;
if ( m_xModel.is() )
sUrl = m_xModel->getURL();
if ( !sUrl.getLength() )
sUrl = SvtPathOptions().GetWorkPath();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
::sfx2::FileDialogHelper aFileDlg( ::sfx2::FILESAVE_AUTOEXTENSION,static_cast<sal_uInt32>(nBits) ,getView());
aFileDlg.SetDisplayDirectory( sUrl );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
const SfxFilter* pFilter = getStandardDatabaseFilter();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( pFilter )
{
aFileDlg.AddFilter(pFilter->GetUIName(),pFilter->GetDefaultExtension());
aFileDlg.SetCurrentFilter(pFilter->GetUIName());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
if ( aFileDlg.Execute() == ERRCODE_NONE )
{
Reference<XStorable> xStore(m_xModel,UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xStore.is() )
{
INetURLObject aURL( aFileDlg.GetPath() );
if( aURL.GetProtocol() != INET_PROT_NOT_VALID )
{
xStore->storeAsURL(aURL.GetMainURL( INetURLObject::NO_DECODE ),Sequence<PropertyValue>());
m_sDatabaseName = ::rtl::OUString();
updateTitle();
m_bCurrentlyModified = sal_False;
InvalidateFeature(ID_BROWSER_SAVEDOC);
if ( getContainer()->getElementType() == E_NONE )
{
getContainer()->changeContainer(E_NONE);
getContainer()->changeContainer(E_TABLE);
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
}
}
break;
case ID_BROWSER_SORTUP:
getContainer()->sortUp();
InvalidateFeature(ID_BROWSER_SORTDOWN);
break;
case ID_BROWSER_SORTDOWN:
getContainer()->sortDown();
InvalidateFeature(ID_BROWSER_SORTUP);
break;
case ID_NEW_TABLE_DESIGN_AUTO_PILOT:
case ID_NEW_VIEW_DESIGN_AUTO_PILOT:
case ID_APP_NEW_QUERY_AUTO_PILOT:
case SID_DB_FORM_NEW_PILOT:
case SID_REPORT_CREATE_REPWIZ_PRE_SEL:
case SID_FORM_CREATE_REPWIZ_PRE_SEL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case ID_DOCUMENT_CREATE_REPWIZ:
case SID_APP_NEW_FORM:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case ID_NEW_QUERY_SQL:
case ID_NEW_QUERY_DESIGN:
case ID_NEW_TABLE_DESIGN:
{
ElementType eType = E_TABLE;
sal_Bool bAutoPilot = sal_False;
sal_Bool bSQLView = sal_False;
switch( _nId )
{
case SID_DB_FORM_NEW_PILOT:
case SID_FORM_CREATE_REPWIZ_PRE_SEL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
bAutoPilot = sal_True;
// run through
case SID_APP_NEW_FORM:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
eType = E_FORM;
break;
case ID_DOCUMENT_CREATE_REPWIZ:
case SID_REPORT_CREATE_REPWIZ_PRE_SEL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
bAutoPilot = sal_True;
eType = E_REPORT;
break;
case ID_APP_NEW_QUERY_AUTO_PILOT:
bAutoPilot = sal_True;
eType = E_QUERY;
break;
case ID_NEW_QUERY_SQL:
bSQLView = sal_True;
// run through
case ID_NEW_QUERY_DESIGN:
eType = E_QUERY;
break;
case ID_NEW_TABLE_DESIGN_AUTO_PILOT:
bAutoPilot = sal_True;
// run through
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case ID_NEW_TABLE_DESIGN:
break;
default:
OSL_ENSURE(0,"illegal switch call!");
}
if ( bAutoPilot )
getContainer()->PostUserEvent( LINK( this, OApplicationController, OnCreateWithPilot ), reinterpret_cast< void* >( eType ) );
else
newElement( eType, bSQLView );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
case SID_APP_NEW_FOLDER:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
ElementType eType = getContainer()->getElementType();
::rtl::OUString sName = getContainer()->getQualifiedName(NULL,NULL);
insertHierachyElement(eType,sName);
}
break;
case ID_NEW_VIEW_DESIGN:
case SID_DB_NEW_VIEW_SQL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
SharedConnection xConnection( ensureConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xConnection.is() )
{
OQueryDesignAccess aHelper(getORB(),sal_True,SID_DB_NEW_VIEW_SQL == _nId );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
Reference< XComponent > xComponent(aHelper.create(Reference<XDataSource>(m_xDataSource,UNO_QUERY),xConnection),UNO_QUERY);
addDocumentListener(xComponent,NULL);
}
}
break;
case SID_DB_APP_DELETE:
case SID_DB_APP_TABLE_DELETE:
case SID_DB_APP_QUERY_DELETE:
case SID_DB_APP_FORM_DELETE:
case SID_DB_APP_REPORT_DELETE:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
deleteEntries();
break;
case SID_DB_APP_RENAME:
case SID_DB_APP_TABLE_RENAME:
case SID_DB_APP_QUERY_RENAME:
case SID_DB_APP_FORM_RENAME:
case SID_DB_APP_REPORT_RENAME:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
renameEntry();
break;
case SID_DB_APP_EDIT:
case SID_DB_APP_TABLE_EDIT:
case SID_DB_APP_QUERY_EDIT:
case SID_DB_APP_FORM_EDIT:
case SID_DB_APP_REPORT_EDIT:
doAction(_nId,OLinkedDocumentsAccess::OPEN_DESIGN);
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case SID_DB_APP_OPEN:
case SID_DB_APP_TABLE_OPEN:
case SID_DB_APP_QUERY_OPEN:
case SID_DB_APP_FORM_OPEN:
case SID_DB_APP_REPORT_OPEN:
doAction(_nId,OLinkedDocumentsAccess::OPEN_NORMAL);
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case SID_DB_APP_CONVERTTOVIEW:
doAction(_nId,OLinkedDocumentsAccess::OPEN_NORMAL);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_SELECTALL:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
getContainer()->selectAll();
InvalidateAll();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_DSRELDESIGN:
{
SharedConnection xConnection( ensureConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xConnection.is() )
{
ORelationDesignAccess aHelper(getORB());
Reference< XComponent > xComponent(aHelper.create(Reference<XDataSource>(m_xDataSource,UNO_QUERY), xConnection),UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
addDocumentListener(xComponent,NULL);
}
}
break;
case SID_DB_APP_DSUSERADMIN:
{
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() )
openDialog(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.UserAdministrationDialog")));
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_TABLEFILTER:
openTableFilterDialog();
askToReconnect();
break;
case SID_DB_APP_REFRESH_TABLES:
refreshTables();
break;
case SID_DB_APP_DSPROPS:
openDataSourceAdminDialog();
askToReconnect();
break;
case SID_DB_APP_DSADVANCED_SETTINGS:
openDialog(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.AdvancedDatabaseSettingsDialog")));
askToReconnect();
break;
case SID_DB_APP_DSCONNECTION_TYPE:
openDialog(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.DataSourceTypeChangeDialog")));
askToReconnect();
break;
case ID_DIRECT_SQL:
{
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() )
openDirectSQLDialog();
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case SID_DB_APP_VIEW_TABLES:
getContainer()->changeContainer(E_TABLE);
break;
case SID_DB_APP_VIEW_QUERIES:
getContainer()->changeContainer(E_QUERY);
break;
case SID_DB_APP_VIEW_FORMS:
getContainer()->changeContainer(E_FORM);
break;
case SID_DB_APP_VIEW_REPORTS:
getContainer()->changeContainer(E_REPORT);
break;
case SID_DB_APP_DISABLE_PREVIEW:
m_ePreviewMode = E_PREVIEWNONE;
getContainer()->switchPreview(m_ePreviewMode);
break;
case SID_DB_APP_VIEW_DOCINFO_PREVIEW:
m_ePreviewMode = E_DOCUMENTINFO;
getContainer()->switchPreview(m_ePreviewMode);
break;
case SID_DB_APP_VIEW_DOC_PREVIEW:
m_ePreviewMode = E_DOCUMENT;
getContainer()->switchPreview(m_ePreviewMode);
break;
case SID_MAIL_SENDDOC:
{
SfxMailModel aSendMail(m_xCurrentFrame);
if ( aSendMail.AttachDocument(SfxMailModel::TYPE_SELF,getModel()) == SfxMailModel::SEND_MAIL_OK )
aSendMail.Send();
}
break;
case SID_DB_APP_SENDREPORTASMAIL:
doAction(_nId,OLinkedDocumentsAccess::OPEN_FORMAIL);
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
catch(Exception& e)
{
#if DBG_UTIL
String sMessage("OApplicationController::Execute(", RTL_TEXTENCODING_ASCII_US);
sMessage += String::CreateFromInt32(_nId);
sMessage.AppendAscii(") : caught an exception ! message : ");
sMessage += (const sal_Unicode*)e.Message;
DBG_ERROR(ByteString(sMessage, gsl_getSystemTextEncoding()).GetBuffer());
#else
e; // make compiler happy
#endif
}
InvalidateFeature(_nId);
}
// -----------------------------------------------------------------------------
void OApplicationController::describeSupportedFeatures()
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
OApplicationController_CBASE::describeSupportedFeatures();
implDescribeSupportedFeature( ".uno:Save", ID_BROWSER_SAVEDOC, CommandGroup::DOCUMENT );
implDescribeSupportedFeature( ".uno:SaveAs", ID_BROWSER_SAVEASDOC, CommandGroup::DOCUMENT );
implDescribeSupportedFeature( ".uno:SendMail", SID_MAIL_SENDDOC, CommandGroup::DOCUMENT );
implDescribeSupportedFeature( ".uno:DBSendReportAsMail",SID_DB_APP_SENDREPORTASMAIL,
CommandGroup::DOCUMENT );
implDescribeSupportedFeature( ".uno:DBSendReportToWriter",SID_DB_APP_SENDREPORTTOWRITER,
CommandGroup::DOCUMENT );
implDescribeSupportedFeature( ".uno:DBNewForm", SID_APP_NEW_FORM, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewFolder", SID_APP_NEW_FOLDER, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewFormAutoPilot", SID_DB_FORM_NEW_PILOT, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewFormAutoPilotWithPreSelection",
SID_FORM_CREATE_REPWIZ_PRE_SEL,
CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBNewReportAutoPilot",
ID_DOCUMENT_CREATE_REPWIZ, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewReportAutoPilotWithPreSelection",
SID_REPORT_CREATE_REPWIZ_PRE_SEL,
CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBNewQuery", ID_NEW_QUERY_DESIGN, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewQuerySql", ID_NEW_QUERY_SQL, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewQueryAutoPilot",ID_APP_NEW_QUERY_AUTO_PILOT,
CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewTable", ID_NEW_TABLE_DESIGN, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewTableAutoPilot",ID_NEW_TABLE_DESIGN_AUTO_PILOT,
CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewView", ID_NEW_VIEW_DESIGN, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBNewViewSQL", SID_DB_NEW_VIEW_SQL, CommandGroup::INSERT );
implDescribeSupportedFeature( ".uno:DBDelete", SID_DB_APP_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:Delete", SID_DB_APP_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBRename", SID_DB_APP_RENAME, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBEdit", SID_DB_APP_EDIT, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBOpen", SID_DB_APP_OPEN, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBTableDelete", SID_DB_APP_TABLE_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBTableRename", SID_DB_APP_TABLE_RENAME, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBTableEdit", SID_DB_APP_TABLE_EDIT, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBTableOpen", SID_DB_APP_TABLE_OPEN, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBQueryDelete", SID_DB_APP_QUERY_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBQueryRename", SID_DB_APP_QUERY_RENAME, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBQueryEdit", SID_DB_APP_QUERY_EDIT, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBQueryOpen", SID_DB_APP_QUERY_OPEN, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBFormDelete", SID_DB_APP_FORM_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBFormRename", SID_DB_APP_FORM_RENAME, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBFormEdit", SID_DB_APP_FORM_EDIT, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBFormOpen", SID_DB_APP_FORM_OPEN, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBReportDelete", SID_DB_APP_REPORT_DELETE, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBReportRename", SID_DB_APP_REPORT_RENAME, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBReportEdit", SID_DB_APP_REPORT_EDIT, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBReportOpen", SID_DB_APP_REPORT_OPEN, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:SelectAll", SID_SELECTALL, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:Undo", ID_BROWSER_UNDO, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:Sortup", ID_BROWSER_SORTUP, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:SortDown", ID_BROWSER_SORTDOWN, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBRelationDesign", SID_DB_APP_DSRELDESIGN, CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBUserAdmin", SID_DB_APP_DSUSERADMIN, CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBTableFilter", SID_DB_APP_TABLEFILTER, CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBDSProperties", SID_DB_APP_DSPROPS, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBDSConnectionType", SID_DB_APP_DSCONNECTION_TYPE,
CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBDSAdvancedSettings",
SID_DB_APP_DSADVANCED_SETTINGS,
CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:PasteSpecial", SID_DB_APP_PASTE_SPECIAL, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBConvertToView", SID_DB_APP_CONVERTTOVIEW, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBRefreshTables", SID_DB_APP_REFRESH_TABLES, CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBDirectSQL", ID_DIRECT_SQL, CommandGroup::APPLICATION );
implDescribeSupportedFeature( ".uno:DBViewTables", SID_DB_APP_VIEW_TABLES, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBViewQueries", SID_DB_APP_VIEW_QUERIES, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBViewForms", SID_DB_APP_VIEW_FORMS, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBViewReports", SID_DB_APP_VIEW_REPORTS, CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBDisablePreview", SID_DB_APP_DISABLE_PREVIEW,CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBShowDocInfoPreview",
SID_DB_APP_VIEW_DOCINFO_PREVIEW,
CommandGroup::VIEW );
implDescribeSupportedFeature( ".uno:DBShowDocPreview", SID_DB_APP_VIEW_DOC_PREVIEW,
CommandGroup::VIEW );
// this one should not appear under Tools->Customize->Keyboard
implDescribeSupportedFeature( ".uno:DBDSImport", SID_DB_APP_DSIMPORT, CommandGroup::INTERNAL);
implDescribeSupportedFeature( ".uno:DBDSExport", SID_DB_APP_DSEXPORT, CommandGroup::INTERNAL);
implDescribeSupportedFeature( ".uno:DBDBAdmin", SID_DB_APP_DBADMIN, CommandGroup::INTERNAL);
// status info
implDescribeSupportedFeature( ".uno:DBStatusType", SID_DB_APP_STATUS_TYPE, CommandGroup::INTERNAL);
implDescribeSupportedFeature( ".uno:DBStatusDBName", SID_DB_APP_STATUS_DBNAME, CommandGroup::INTERNAL);
implDescribeSupportedFeature( ".uno:DBStatusUserName", SID_DB_APP_STATUS_USERNAME, CommandGroup::INTERNAL);
implDescribeSupportedFeature( ".uno:DBStatusHostName", SID_DB_APP_STATUS_HOSTNAME, CommandGroup::INTERNAL);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
OApplicationView* OApplicationController::getContainer() const
{
return static_cast< OApplicationView* >( getView() );
}
// -----------------------------------------------------------------------------
void OApplicationController::onCreationClick(const ::rtl::OUString& _sCommand)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
URL aCommand;
aCommand.Complete = _sCommand;
executeChecked(aCommand,Sequence<PropertyValue>());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
// ::com::sun::star::container::XContainerListener
void SAL_CALL OApplicationController::elementInserted( const ContainerEvent& _rEvent ) throw(RuntimeException)
{
::vos::OGuard aSolarGuard(Application::GetSolarMutex());
::osl::MutexGuard aGuard(m_aMutex);
Reference< XContainer > xContainer(_rEvent.Source, UNO_QUERY);
if ( ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer) != m_aCurrentContainers.end() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
if ( getContainer() )
{
::rtl::OUString sName;
_rEvent.Accessor >>= sName;
ElementType eType = getElementType(xContainer);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
switch( eType )
{
case E_TABLE:
ensureConnection();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case E_FORM:
case E_REPORT:
{
Reference< XContainer > xSubContainer(_rEvent.Element,UNO_QUERY);
if ( xSubContainer.is() )
containerFound(xSubContainer);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
}
getContainer()->elementAdded(eType,sName,_rEvent.Element,getConnection());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
}
// -----------------------------------------------------------------------------
void SAL_CALL OApplicationController::elementRemoved( const ContainerEvent& _rEvent ) throw(RuntimeException)
{
::vos::OGuard aSolarGuard(Application::GetSolarMutex());
::osl::MutexGuard aGuard(m_aMutex);
Reference< XContainer > xContainer(_rEvent.Source, UNO_QUERY);
if ( ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer) != m_aCurrentContainers.end() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
::rtl::OUString sName;
_rEvent.Accessor >>= sName;
ElementType eType = getElementType(xContainer);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
switch( eType )
{
case E_TABLE:
ensureConnection();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
break;
case E_FORM:
case E_REPORT:
{
Reference<XContent> xContent(xContainer,UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xContent.is() )
{
sName = xContent->getIdentifier()->getContentIdentifier() + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + sName;
}
}
break;
}
getContainer()->elementRemoved(eType,sName,getConnection());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
// -----------------------------------------------------------------------------
void SAL_CALL OApplicationController::elementReplaced( const ContainerEvent& _rEvent ) throw(RuntimeException)
{
::vos::OGuard aSolarGuard(Application::GetSolarMutex());
::osl::MutexGuard aGuard(m_aMutex);
Reference< XContainer > xContainer(_rEvent.Source, UNO_QUERY);
if ( ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer) != m_aCurrentContainers.end() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
::rtl::OUString sName;
try
{
_rEvent.Accessor >>= sName;
Reference<XConnection> xConnection;
Reference<XPropertySet> xProp(_rEvent.Element,UNO_QUERY);
::rtl::OUString sNewName;
ElementType eType = getElementType(xContainer);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
switch( eType )
{
case E_TABLE:
{
ensureConnection();
if ( xProp.is() && m_xMetaData.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
sNewName = ::dbaui::composeTableName(m_xMetaData,xProp,sal_False,::dbtools::eInDataManipulation);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case E_FORM:
case E_REPORT:
{
Reference<XContent> xContent(xContainer,UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xContent.is() )
{
sName = xContent->getIdentifier()->getContentIdentifier() + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + sName;
}
}
break;
}
// getContainer()->elementReplaced(getContainer()->getElementType(),sName,sNewName,xConnection);
}
catch( Exception& )
{
OSL_ENSURE(0,"Exception catched");
}
}
}
namespace
{
::rtl::OUString lcl_getToolBarResource(ElementType _eType)
{
::rtl::OUString sToolbar;
switch(_eType)
{
case E_TABLE:
sToolbar = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:resource/toolbar/tableobjectbar" ));
break;
case E_QUERY:
sToolbar = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:resource/toolbar/queryobjectbar" ));
break;
case E_FORM:
sToolbar = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:resource/toolbar/formobjectbar" ));
break;
case E_REPORT:
sToolbar = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:resource/toolbar/reportobjectbar" ));
break;
case E_NONE:
break;
default:
OSL_ENSURE(0,"Invalid ElementType!");
break;
}
return sToolbar;
}
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
// -----------------------------------------------------------------------------
sal_Bool OApplicationController::onContainerSelect(ElementType _eType)
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
Reference< ::com::sun::star::frame::XLayoutManager > xLayoutManager = getLayoutManager(getFrame());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xLayoutManager.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
sal_Bool bAdd = _eType != E_TABLE;
if ( !bAdd )
{
try
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() && getContainer()->getDetailView() )
{
getContainer()->getDetailView()->createTablesPage(xConnection);
Reference<XTablesSupplier> xTabSup(xConnection,UNO_QUERY);
if ( xTabSup.is() )
addContainerListener(xTabSup->getTables());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
else
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
return sal_False;
}
}
catch(Exception)
{
return sal_False;
}
}
::rtl::OUString sToolbar = lcl_getToolBarResource(_eType);
::rtl::OUString sDestroyToolbar = lcl_getToolBarResource(m_eOldType);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
xLayoutManager->lock();
xLayoutManager->destroyElement( sDestroyToolbar );
if ( sToolbar.getLength() )
{
xLayoutManager->createElement( sToolbar );
xLayoutManager->requestElement( sToolbar );
}
xLayoutManager->unlock();
xLayoutManager->doLayout();
if ( bAdd && getContainer()->getDetailView() )
{
Reference< XNameAccess > xContainer = getElements(_eType);
addContainerListener(xContainer);
getContainer()->getDetailView()->createPage(_eType,xContainer);
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
InvalidateAll();
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
m_eOldType = _eType;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
return sal_True;
}
// -----------------------------------------------------------------------------
void OApplicationController::onEntryDoubleClick(SvTreeListBox* _pTree)
{
OSL_ENSURE(_pTree != NULL,"Who called me without a svtreelsiboc! ->GPF ");
if ( getContainer() && getContainer()->isLeaf(_pTree->GetHdlEntry()) )
{
try
{
openElement( getContainer()->getQualifiedName( _pTree->GetHdlEntry(), m_xMetaData ), getContainer()->getElementType() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
catch(const Exception&)
{
OSL_ENSURE(0,"Could not open element!");
}
}
}
// -----------------------------------------------------------------------------
Reference< XComponent > OApplicationController::openElement(const ::rtl::OUString& _sName,ElementType _eType,OLinkedDocumentsAccess::EOpenMode _eOpenMode)
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
Reference< XComponent > xRet;
if ( _eOpenMode == OLinkedDocumentsAccess::OPEN_DESIGN )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
// OJ: http://www.openoffice.org/issues/show_bug.cgi?id=30382
getContainer()->showPreview(NULL);
}
switch ( _eType )
{
case E_REPORT: // TODO: seperate handling of forms and reports
case E_FORM:
{
::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType);
Reference< XComponent > xDefinition;
xRet.set(aHelper->open(_sName, xDefinition,_eOpenMode),UNO_QUERY);
addDocumentListener(xRet,xDefinition);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
case E_QUERY:
case E_TABLE:
{
::std::auto_ptr< ODesignAccess> pDispatcher;
SharedConnection xConnection( ensureConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xConnection.is() )
{
Sequence < PropertyValue > aArgs;
Any aDataSource;
if ( _eOpenMode == OLinkedDocumentsAccess::OPEN_DESIGN )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
if ( _eType == E_TABLE )
{
pDispatcher.reset(new OTableDesignAccess(getORB()));
}
else
{
pDispatcher.reset(new OQueryDesignAccess(getORB(), sal_False, sal_False));
}
aDataSource <<= m_xDataSource;
}
else
{
pDispatcher.reset(new OTableAccess(getORB(),_eType == E_TABLE));
aArgs.realloc(1);
aArgs[0].Name = PROPERTY_SHOWMENU;
aArgs[0].Value <<= sal_True;
aDataSource <<= getDatabaseName();
}
Reference< XComponent > xComponent(pDispatcher->edit(aDataSource, _sName,xConnection,aArgs),UNO_QUERY);
addDocumentListener(xComponent,NULL);
}
}
break;
}
return xRet;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
IMPL_LINK( OApplicationController, OnCreateWithPilot, void*, _pType )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
ElementType eType = (ElementType)reinterpret_cast< sal_IntPtr >( _pType );
newElementWithPilot( eType );
return 0L;
}
// -----------------------------------------------------------------------------
void OApplicationController::newElementWithPilot( ElementType _eType )
{
OSL_ENSURE( getContainer(), "OApplicationController::newElementWithPilot: without a view?" );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
switch ( _eType )
{
case E_REPORT:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case E_FORM:
{
::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType);
if ( aHelper->isConnected() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
sal_Int32 nCommandType = ( (getContainer()->getElementType() == E_QUERY)
? CommandType::QUERY : ( (getContainer()->getElementType() == E_TABLE) ? CommandType::TABLE : -1 ));
Reference<XConnection> xConnection;
::rtl::OUString sName;
if ( nCommandType != -1 )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
try
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
sName = getContainer()->getQualifiedName( NULL, m_xMetaData );
OSL_ENSURE( sName.getLength(), "OApplicationController::newElementWithPilot: no name given!" );
}
catch(Exception)
{
OSL_ENSURE( 0, "OApplicationController::newElementWithPilot: Exception catched!" );
}
}
Reference< XComponent > xComponent,xDefinition;
if ( E_REPORT == _eType )
xComponent = aHelper->newReportWithPilot(xDefinition,nCommandType,sName);
else
xComponent = aHelper->newFormWithPilot(xDefinition,nCommandType,sName);
addDocumentListener(xComponent,xDefinition);
}
}
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case E_QUERY:
case E_TABLE:
{
::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType);
if ( aHelper->isConnected() )
{
if ( E_QUERY == _eType )
aHelper->newQueryWithPilot( );
else
aHelper->newTableWithPilot( );
}
}
break;
}
}
// -----------------------------------------------------------------------------
void OApplicationController::newElement( ElementType _eType, sal_Bool _bSQLView )
{
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
switch ( _eType )
{
case E_REPORT:
OSL_ENSURE( sal_False, "OApplicationController::newElement: can't create a blank report!" );
break;
case E_FORM:
{
::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType);
Reference< XComponent > xComponent,xDefinition;
xComponent = aHelper->newForm(ID_FORM_NEW_TEXT,xDefinition);
addDocumentListener(xComponent,xDefinition);
}
break;
case E_QUERY:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case E_TABLE:
{
::std::auto_ptr< ODesignAccess> pDispatcher;
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
if ( _eType == E_TABLE )
{
pDispatcher.reset(new OTableDesignAccess(getORB()));
}
else
{
pDispatcher.reset(new OQueryDesignAccess(getORB(), sal_False, _bSQLView));
}
Reference< XComponent > xComponent(pDispatcher->create(Reference<XDataSource>(m_xDataSource,UNO_QUERY), xConnection),UNO_QUERY);
addDocumentListener(xComponent,NULL);
}
}
break;
}
}
// -----------------------------------------------------------------------------
void OApplicationController::addContainerListener(const Reference<XNameAccess>& _xCollection)
{
try
{
Reference< XContainer > xCont(_xCollection, UNO_QUERY);
if ( xCont.is() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
// add as listener to get notified if elements are inserted or removed
TContainerVector::iterator aFind = ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xCont);
if ( aFind == m_aCurrentContainers.end() )
{
xCont->addContainerListener(this);
m_aCurrentContainers.push_back(xCont);
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
catch(Exception&)
{
OSL_ENSURE(0,"Exception catched!");
}
}
// -----------------------------------------------------------------------------
void OApplicationController::renameEntry()
{
::vos::OGuard aSolarGuard(Application::GetSolarMutex());
::osl::MutexGuard aGuard(m_aMutex);
OSL_ENSURE(getContainer(),"View is NULL! -> GPF");
::std::vector< ::rtl::OUString> aList;
getSelectionElementNames(aList);
Reference< XNameAccess > xContainer = getElements(getContainer()->getElementType());
OSL_ENSURE(aList.size() == 1,"Invalid rename call here. More than one element!");
if ( aList.empty() )
return;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
try
{
if ( xContainer.is() )
{
::std::auto_ptr<OSaveAsDlg> aDlg;
Reference<XRename> xRename;
ElementType eType = getContainer()->getElementType();
switch( eType )
{
case E_FORM:
case E_REPORT:
{
Reference<XHierarchicalNameContainer> xHNames(xContainer, UNO_QUERY);
if ( xHNames.is() )
{
String sLabel;
if ( eType == E_FORM )
{
sLabel = String(ModuleRes( STR_FRM_LABEL ));
}
else
{
sLabel = String(ModuleRes( STR_RPT_LABEL ));
}
::rtl::OUString sName = *aList.begin();
if ( xHNames->hasByHierarchicalName(sName) )
{
xRename.set(xHNames->getByHierarchicalName(sName),UNO_QUERY);
Reference<XChild> xChild(xRename,UNO_QUERY);
if ( xChild.is() )
{
Reference<XHierarchicalNameContainer> xParent(xChild->getParent(),UNO_QUERY);
if ( xParent.is() )
{
xHNames = xParent;
Reference<XPropertySet>(xRename,UNO_QUERY)->getPropertyValue(PROPERTY_NAME) >>= sName;
}
}
aDlg.reset( new OSaveAsDlg(getView(),xHNames.get(),sName,sLabel,String(),SAD_TITLE_RENAME) );
}
}
}
break;
case E_TABLE:
ensureConnection();
if ( !getConnection().is() )
break;
// NO break
case E_QUERY:
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xContainer->hasByName(*aList.begin()) )
{
xRename.set(xContainer->getByName(*aList.begin()),UNO_QUERY);
sal_Int32 nCommandType = eType == E_QUERY ? CommandType::QUERY : CommandType::TABLE;
aDlg.reset( new OSaveAsDlg(
getView(), nCommandType, xContainer,
m_xMetaData, getConnection(), *aList.begin(), SAD_TITLE_RENAME) );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
break;
}
if ( xRename.is() && aDlg.get() )
{
sal_Bool bTryAgain = sal_True;
while( bTryAgain )
{
if ( aDlg->Execute() == RET_OK )
{
try
{
::rtl::OUString sNewName;
if ( eType == E_TABLE )
{
::rtl::OUString sName = aDlg->getName();
::rtl::OUString sCatalog = aDlg->getCatalog();
::rtl::OUString sSchema = aDlg->getSchema();
::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sName, sNewName, sal_False, ::dbtools::eInTableDefinitions );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
else
sNewName = aDlg->getName();
::rtl::OUString sOldName = *aList.begin();
if ( eType == E_FORM || eType == E_REPORT )
{
Reference<XContent> xContent(xRename,UNO_QUERY);
if ( xContent.is() )
{
sOldName = xContent->getIdentifier()->getContentIdentifier();
}
}
xRename->rename(sNewName);
if ( !Reference< XNameAccess >( xRename, UNO_QUERY ).is() )
getContainer()->elementReplaced( getContainer()->getElementType(), sOldName, sNewName, getConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
bTryAgain = sal_False;
}
catch(const SQLException& e)
{
showError(SQLExceptionInfo(e));
}
catch(const ElementExistException& e)
{
static ::rtl::OUString sStatus = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("S1000"));
String sMsg = String(ModuleRes(STR_OBJECT_ALREADY_EXISTS));
sMsg.SearchAndReplace('#',e.Message);
showError(SQLExceptionInfo(SQLException(sMsg, e.Context, sStatus, 0, Any())));
}
catch(const Exception& )
{
OSL_ENSURE(0,"Exception catched!");
}
}
else
bTryAgain = sal_False;
}
}
}
}
catch(const Exception& )
{
OSL_ENSURE(0,"Exception catched!");
}
}
// -----------------------------------------------------------------------------
void OApplicationController::onEntryDeSelect(SvTreeListBox* _pTree)
{
InvalidateAll();
}
// -----------------------------------------------------------------------------
void OApplicationController::onEntrySelect(SvLBoxEntry* _pEntry)
{
InvalidateAll();
OApplicationView* pView = getContainer();
if ( pView )
{
ElementType eType = pView->getElementType();
Reference< XContent> xContent;
if ( _pEntry && pView->isALeafSelected() )
{
try
{
switch( eType )
{
case E_FORM:
case E_REPORT:
{
::rtl::OUString sName = pView->getQualifiedName( _pEntry,NULL);
if ( sName.getLength() )
{
Reference< XHierarchicalNameAccess > xContainer(getElements(eType),UNO_QUERY);
if ( xContainer.is() && xContainer->hasByHierarchicalName(sName) )
xContent.set(xContainer->getByHierarchicalName(sName),UNO_QUERY);
}
}
break;
case E_QUERY:
{
::rtl::OUString sName = pView->getQualifiedName( _pEntry,NULL);
if ( pView->isPreviewEnabled() )
{
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() )
pView->showPreview(getDatabaseName(),xConnection,sName,sal_False);
}
return;
}
break;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
case E_TABLE:
{
SharedConnection xConnection( ensureConnection() );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xConnection.is() )
{
::rtl::OUString sName = pView->getQualifiedName( _pEntry,xConnection->getMetaData());
pView->showPreview(getDatabaseName(),xConnection,sName,eType == E_TABLE);
return;
}
}
break;
}
}
catch(SQLException e)
{
showError(e);
}
catch(Exception)
{
OSL_ENSURE(0,"Exception catched while previewing!");
}
}
pView->showPreview(xContent);
}
}
//------------------------------------------------------------------------------
void OApplicationController::frameAction(const FrameActionEvent& aEvent) throw( RuntimeException )
{
::osl::MutexGuard aGuard(m_aMutex);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ((XFrame*)aEvent.Frame.get() == (XFrame*)m_xCurrentFrame.get())
switch (aEvent.Action)
{
case FrameAction_FRAME_ACTIVATED:
case FrameAction_FRAME_UI_ACTIVATED:
m_bFrameUiActive = sal_True;
break;
case FrameAction_FRAME_DEACTIVATING:
case FrameAction_FRAME_UI_DEACTIVATING:
m_bFrameUiActive = sal_False;
break;
}
}
//------------------------------------------------------------------------------
IMPL_LINK( OApplicationController, OnClipboardChanged, void*, EMPTYARG )
{
return OnInvalidateClipboard( NULL );
}
//------------------------------------------------------------------------------
IMPL_LINK(OApplicationController, OnInvalidateClipboard, void*, EMPTYARG)
{
InvalidateFeature(ID_BROWSER_CUT);
InvalidateFeature(ID_BROWSER_COPY);
InvalidateFeature(ID_BROWSER_PASTE);
InvalidateFeature(SID_DB_APP_PASTE_SPECIAL);
return 0L;
}
// -----------------------------------------------------------------------------
void OApplicationController::onCutEntry(SvLBoxEntry* _pEntry)
{
}
// -----------------------------------------------------------------------------
void OApplicationController::onCopyEntry(SvLBoxEntry* _pEntry)
{
Execute(ID_BROWSER_COPY,Sequence<PropertyValue>());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
void OApplicationController::onPasteEntry(SvLBoxEntry* _pEntry)
{
Execute(ID_BROWSER_PASTE,Sequence<PropertyValue>());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
void OApplicationController::onDeleteEntry(SvLBoxEntry* _pEntry)
{
ElementType eType = getContainer()->getElementType();
sal_uInt16 nId = 0;
switch(eType)
{
case E_TABLE:
nId = SID_DB_APP_TABLE_DELETE;
break;
case E_QUERY:
nId = SID_DB_APP_QUERY_DELETE;
break;
case E_FORM:
nId = SID_DB_APP_FORM_DELETE;
break;
case E_REPORT:
nId = SID_DB_APP_REPORT_DELETE;
break;
default:
OSL_ENSURE(0,"Invalid ElementType!");
break;
}
executeChecked(nId,Sequence<PropertyValue>());
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
sal_Bool OApplicationController::requestContextMenu( const CommandEvent& _rEvent )
{
return sal_False;
}
// -----------------------------------------------------------------------------
sal_Bool OApplicationController::requestQuickHelp( const SvLBoxEntry* _pEntry, String& _rText ) const
{
return sal_False;
}
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
// -----------------------------------------------------------------------------
sal_Bool OApplicationController::requestDrag( sal_Int8 _nAction, const Point& _rPosPixel )
{
TransferableHelper* pTransfer = NULL;
if ( getContainer() && getContainer()->getSelectionCount() )
{
try
{
pTransfer = copyObject( );
Reference< XTransferable> xEnsureDelete = pTransfer;
if ( pTransfer && getContainer()->getDetailView() )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
ElementType eType = getContainer()->getElementType();
pTransfer->StartDrag( getContainer()->getDetailView(), ((eType == E_FORM || eType == E_REPORT) ? DND_ACTION_COPYMOVE : DND_ACTION_COPY) );
}
}
catch(const Exception& )
{
OSL_ENSURE(0,"Exception catched!");
}
}
return NULL != pTransfer;
}
// -----------------------------------------------------------------------------
sal_Int8 OApplicationController::queryDrop( const AcceptDropEvent& _rEvt, const DataFlavorExVector& _rFlavors )
{
sal_Int8 nActionAskedFor = _rEvt.mnAction;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
// check if we're a table or query container
OApplicationView* pView = getContainer();
if ( pView && !isDataSourceReadOnly() )
{
ElementType eType = pView->getElementType();
if ( eType != E_NONE && (eType != E_TABLE || !isConnectionReadOnly()) )
{
// check for the concrete type
if(::std::find_if(_rFlavors.begin(),_rFlavors.end(),TAppSupportedSotFunctor(eType,sal_True)) != _rFlavors.end())
return DND_ACTION_COPY;
if ( eType == E_FORM || eType == E_REPORT )
{
sal_Int8 nAction = OComponentTransferable::canExtractComponentDescriptor(_rFlavors,eType == E_FORM) ? DND_ACTION_COPY : DND_ACTION_NONE;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( nAction != DND_ACTION_NONE )
{
SvLBoxEntry* pHitEntry = pView->getEntry(_rEvt.maPosPixel);
::rtl::OUString sName;
if ( pHitEntry )
{
sName = pView->getQualifiedName( pHitEntry,NULL);
if ( sName.getLength() )
{
Reference< XHierarchicalNameAccess > xContainer(getElements(pView->getElementType()),UNO_QUERY);
if ( xContainer.is() && xContainer->hasByHierarchicalName(sName) )
{
Reference< XHierarchicalNameAccess > xHitObject(xContainer->getByHierarchicalName(sName),UNO_QUERY);
if ( xHitObject.is() )
nAction = nActionAskedFor & DND_ACTION_COPYMOVE;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
else
nAction = DND_ACTION_NONE;
}
}
/*else
nAction = nActionAskedFor & DND_ACTION_COPYMOVE;
*/
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
return nAction;
}
}
}
return DND_ACTION_NONE;
}
// -----------------------------------------------------------------------------
sal_Int8 OApplicationController::executeDrop( const ExecuteDropEvent& _rEvt )
{
OApplicationView* pView = getContainer();
if ( !pView || pView->getElementType() == E_NONE )
{
DBG_ERROR("OApplicationController::executeDrop: what the hell did queryDrop do?");
// queryDrop shoud not have allowed us to reach this situation ....
return DND_ACTION_NONE;
}
// a TransferableDataHelper for accessing the dropped data
TransferableDataHelper aDroppedData(_rEvt.maDropEvent.Transferable);
// reset the data of the previous async drop (if any)
if ( m_nAsyncDrop )
Application::RemoveUserEvent(m_nAsyncDrop);
m_nAsyncDrop = 0;
m_aAsyncDrop.aDroppedData.clear();
m_aAsyncDrop.nType = pView->getElementType();
m_aAsyncDrop.nAction = _rEvt.mnAction;
m_aAsyncDrop.bError = sal_False;
m_aAsyncDrop.bHtml = sal_False;
m_aAsyncDrop.aUrl = ::rtl::OUString();
// loop through the available formats and see what we can do ...
// first we have to check if it is our own format, if not we have to copy the stream :-(
if ( ODataAccessObjectTransferable::canExtractObjectDescriptor(aDroppedData.GetDataFlavorExVector()) )
{
m_aAsyncDrop.aDroppedData = ODataAccessObjectTransferable::extractObjectDescriptor(aDroppedData);
// asyncron because we some dialogs and we aren't allowed to show them while in D&D
m_nAsyncDrop = Application::PostUserEvent(LINK(this, OApplicationController, OnAsyncDrop));
return DND_ACTION_COPY;
}
else if ( OComponentTransferable::canExtractComponentDescriptor(aDroppedData.GetDataFlavorExVector(),m_aAsyncDrop.nType == E_FORM) )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
m_aAsyncDrop.aDroppedData = OComponentTransferable::extractComponentDescriptor(aDroppedData);
SvLBoxEntry* pHitEntry = pView->getEntry(_rEvt.maPosPixel);
if ( pHitEntry )
m_aAsyncDrop.aUrl = pView->getQualifiedName( pHitEntry,NULL);
sal_Int8 nAction = _rEvt.mnAction;
Reference<XContent> xContent;
m_aAsyncDrop.aDroppedData[daComponent] >>= xContent;
if ( xContent.is() )
{
::rtl::OUString sName = xContent->getIdentifier()->getContentIdentifier();
sal_Int32 nIndex = 0;
sName = sName.copy(sName.getToken(0,'/',nIndex).getLength() + 1);
if ( m_aAsyncDrop.aUrl.Len() >= sName.getLength() && 0 == sName.compareTo(m_aAsyncDrop.aUrl,sName.getLength()) )
{
m_aAsyncDrop.aDroppedData.clear();
return DND_ACTION_NONE;
}
// check if move is allowed, if another object with the same name exists only copy is allowed
Reference< XHierarchicalNameAccess > xContainer(getElements(m_aAsyncDrop.nType),UNO_QUERY);
Reference<XNameAccess> xNameAccess(xContainer,UNO_QUERY);
if ( m_aAsyncDrop.aUrl.Len() && xContainer.is() && xContainer->hasByHierarchicalName(m_aAsyncDrop.aUrl) )
xNameAccess.set(xContainer->getByHierarchicalName(m_aAsyncDrop.aUrl),UNO_QUERY);
if ( xNameAccess.is() )
{
Reference<XPropertySet> xProp(xContent,UNO_QUERY);
if ( xProp.is() )
{
xProp->getPropertyValue(PROPERTY_NAME) >>= sName;
if ( xNameAccess.is() && xNameAccess->hasByName(sName) )
nAction &= ~DND_ACTION_MOVE;
}
else
nAction &= ~DND_ACTION_MOVE;
}
}
if ( nAction != DND_ACTION_NONE )
{
m_aAsyncDrop.nAction = nAction;
// asyncron because we some dialogs and we aren't allowed to show them while in D&D
m_nAsyncDrop = Application::PostUserEvent(LINK(this, OApplicationController, OnAsyncDrop));
}
else
m_aAsyncDrop.aDroppedData.clear();
return nAction;
}
else
{
SharedConnection xConnection( ensureConnection() );
if ( xConnection.is() && m_aTableCopyHelper.copyTagTable( aDroppedData, m_aAsyncDrop, xConnection ) )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
// asyncron because we some dialogs and we aren't allowed to show them while in D&D
m_nAsyncDrop = Application::PostUserEvent(LINK(this, OApplicationController, OnAsyncDrop));
return DND_ACTION_COPY;
}
}
return DND_ACTION_NONE;
}
// -----------------------------------------------------------------------------
Reference< XModel > SAL_CALL OApplicationController::getModel(void) throw( RuntimeException )
{
return m_xModel;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > & _rxModel) throw( RuntimeException )
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
::osl::MutexGuard aGuard( m_aMutex );
Reference< XOfficeDatabaseDocument > xOfficeDoc( _rxModel, UNO_QUERY );
if ( !xOfficeDoc.is() && _rxModel.is() )
{
DBG_ERROR( "OApplicationController::attachModel: invalid model!" );
return sal_False;
}
DBG_ASSERT( !( m_xModel.is() && ( m_xModel != _rxModel ) ),
"OApplicationController::attachModel: missing implementation: setting a new model while we have another one!" );
// at least: remove as property change listener from the old model/data source
m_xModel = _rxModel;
if ( _rxModel.is() )
m_aModelConnector = ModelControllerConnector( _rxModel, this );
else
m_aModelConnector.clear();
m_xDataSource.set(xOfficeDoc.is() ? xOfficeDoc->getDataSource() : Reference<XDataSource>(),UNO_QUERY);
if ( !m_xDataSource.is() )
m_sDatabaseName = ::rtl::OUString();
else
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
{
try
{
m_xDataSource->getPropertyValue(PROPERTY_NAME) >>= m_sDatabaseName;
m_xDataSource->addPropertyChangeListener(PROPERTY_INFO, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_URL, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_ISPASSWORDREQUIRED, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_LAYOUTINFORMATION, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_SUPPRESSVERSIONCL, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_TABLEFILTER, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_TABLETYPEFILTER, this);
m_xDataSource->addPropertyChangeListener(PROPERTY_USER, this);
// to get the 'modified' for the data source
Reference< XModifyBroadcaster > xBroadcaster(m_xModel, UNO_QUERY);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
if ( xBroadcaster.is() )
xBroadcaster->addModifyListener(static_cast<XModifyListener*>(this));
Sequence<PropertyValue> aFields;
m_xDataSource->getPropertyValue(PROPERTY_LAYOUTINFORMATION) >>= aFields;
PropertyValue *pIter = aFields.getArray();
PropertyValue *pEnd = pIter + aFields.getLength();
for (; pIter != pEnd && pIter->Name != INFO_PREVIEW; ++pIter)
;
if ( pIter != pEnd )
{
sal_Int32 nValue = 0;
pIter->Value >>= nValue;
m_ePreviewMode = static_cast<PreviewMode>(nValue);
}
}
catch(Exception)
{
OSL_ENSURE( false, "OApplicationController::attachModel: caught an exception while doing the property stuff!" );
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
}
return sal_True;
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
}
// -----------------------------------------------------------------------------
void OApplicationController::containerFound( const Reference< XContainer >& _xContainer)
{
try
{
if ( _xContainer.is() )
{
m_aCurrentContainers.push_back(_xContainer);
INTEGRATION: CWS insight01 (1.1.2); FILE ADDED 2004/07/21 09:35:30 oj 1.1.2.77: #i30626# check if renamed object is a container 2004/07/19 12:45:28 oj 1.1.2.76: new method updateTitle 2004/07/19 10:51:23 oj 1.1.2.75: #i30626# check if XRename is supported 2004/07/16 12:35:09 oj 1.1.2.74: #i31501# set a connection 2004/07/13 10:38:33 oj 1.1.2.73: rename of tables and queries corrected 2004/07/09 13:14:15 oj 1.1.2.72: #i30416# move some code to UITools 2004/07/05 10:36:03 oj 1.1.2.71: #i30382# hide preview when editing an object 2004/07/02 10:04:45 oj 1.1.2.70: #i30226# add controller, model behavior 2004/06/30 13:35:10 oj 1.1.2.69: #i30390# execute delete only checked 2004/06/30 11:23:43 oj 1.1.2.68: #i30413# disallow folder edit and open 2004/06/03 10:24:00 oj 1.1.2.67: missing header file 2004/06/03 09:09:27 oj 1.1.2.66: merge to m40 2004/05/05 09:48:16 oj 1.1.2.65: add help button to toolbar 2004/05/04 12:41:54 oj 1.1.2.64: change toolbar order and insert open 2004/04/28 11:21:01 oj 1.1.2.63: ongoing work 2004/04/27 13:34:59 oj 1.1.2.62: remove and add some props 2004/04/26 12:55:29 oj 1.1.2.61: new icon for edit query 2004/04/26 11:32:01 oj 1.1.2.60: folder handling 2004/04/21 13:48:01 oj 1.1.2.59: enable catalog and schema disabling 2004/04/15 16:31:42 oj 1.1.2.58: read only connection checks 2004/04/15 14:55:39 oj 1.1.2.57: new command for form wizard in edit menu 2004/04/07 13:55:16 oj 1.1.2.56: remember definition object as well 2004/04/05 09:07:22 oj 1.1.2.55: remove doucment when it was disposed 2004/04/02 13:45:59 oj 1.1.2.54: set title of ds 2004/03/31 08:50:37 oj 1.1.2.53: append pcik list 2004/03/31 06:47:54 oj 1.1.2.52: check if ds is readonly 2004/03/30 12:02:29 oj 1.1.2.51: export config settings 2004/03/29 10:06:29 oj 1.1.2.50: don't resize window 2004/03/19 08:18:59 oj 1.1.2.49: #111075# disable some slots when schema or catalog was selected 2004/03/19 07:45:44 oj 1.1.2.48: #111075# ongoing work 2004/03/18 13:49:34 oj 1.1.2.47: #111075# check the current view 2004/03/18 13:24:51 oj 1.1.2.46: #111075# change high contrast images 2004/03/18 12:33:23 oj 1.1.2.45: #111075# correct sort up/down 2004/03/18 10:32:27 oj 1.1.2.44: #111075# ongoing work 2004/03/18 10:15:30 oj 1.1.2.43: #111075# ongoing work 2004/03/17 12:51:06 oj 1.1.2.42: #111075# renaming of objects 2004/03/16 14:21:53 oj 1.1.2.41: #111075# change rename handling 2004/03/16 12:47:40 oj 1.1.2.40: #111075# change rename handling 2004/03/15 12:25:47 oj 1.1.2.39: #111075# ongoing work 2004/03/14 14:43:59 oj 1.1.2.38: ongoing work 2004/03/12 11:55:52 oj 1.1.2.37: #111075# implement commit 2004/03/12 08:14:32 oj 1.1.2.36: #111075# show dialog when new connection is needed 2004/03/12 08:09:51 oj 1.1.2.35: #111075# show dialog when new connection is needed 2004/03/11 15:08:38 oj 1.1.2.34: #111075# ongoing fixes 2004/03/11 11:22:03 oj 1.1.2.33: #111075# changes for closing 2004/03/11 09:57:00 oj 1.1.2.32: #111075# changes for closing 2004/03/11 09:10:14 oj 1.1.2.31: #111075# changes for closing 2004/03/11 08:56:31 oj 1.1.2.30: #111075# changes for closing docs 2004/03/08 09:16:46 oj 1.1.2.29: add new item to menu 2004/03/08 07:26:53 oj 1.1.2.28: change to new menu layout 2004/03/05 07:08:47 oj 1.1.2.27: #111090# new props dialgos 2004/02/26 11:35:34 oj 1.1.2.26: #i24171# correct saveas mechanism 2004/02/23 14:49:01 oj 1.1.2.25: #111075# use the sfxfilter to get the correct filer name 2004/02/20 11:32:27 oj 1.1.2.24: #i25414# extend the datadescriptor for database location and connection resource 2004/02/16 07:22:19 oj 1.1.2.23: #111075# linux changes 2004/02/05 09:08:23 oj 1.1.2.22: #111075# ongoing changes 2004/01/22 14:22:47 oj 1.1.2.21: #i24598# parent handling changed 2004/01/22 09:37:00 oj 1.1.2.20: #i24176# add the possiblity to create dbs 2004/01/21 13:04:34 oj 1.1.2.19: #i24179# change slots for sorting 2004/01/09 11:12:49 oj 1.1.2.18: #111075# ongoing work 2004/01/07 15:15:44 oj 1.1.2.17: #i24179# enable and disable sort buttons 2004/01/07 13:47:29 oj 1.1.2.16: #111075# ongoing work 2003/12/19 08:06:01 oj 1.1.2.15: #111075# ongoing work 2003/12/18 13:53:13 oj 1.1.2.14: #111075# ongoing work 2003/12/17 13:55:00 oj 1.1.2.13: #111075# ongoing work 2003/12/17 08:47:04 oj 1.1.2.12: #111075# ongoing work 2003/12/02 08:32:15 oj 1.1.2.11: #111075# ongoing work 2003/11/28 06:59:12 oj 1.1.2.10: #111075# ongoing work 2003/11/26 12:18:32 oj 1.1.2.9: #111075# ongoing work 2003/11/17 09:43:11 oj 1.1.2.8: #111075# ongoning work 2003/11/05 11:36:34 oj 1.1.2.7: #111075# ongoing work 2003/10/24 06:38:43 oj 1.1.2.6: #111075# further changes 2003/09/18 05:59:29 oj 1.1.2.5: #111075# ongoing work 2003/08/28 12:03:57 oj 1.1.2.4: #111090# ongoning work 2003/08/15 08:54:01 oj 1.1.2.3: #111075# ongoing new dbaapp work 2003/08/01 11:49:58 oj 1.1.2.2: #111090# ongoing work 2003/07/29 12:25:43 oj 1.1.2.1: #111075# new classes for the app controller
2004-08-02 14:28:11 +00:00
_xContainer->addContainerListener(this);
}
}
catch(Exception)
{
OSL_ENSURE(0,"Could not listener on the container!");
}
}
//........................................................................
} // namespace dbaui
//........................................................................