198 lines
6.7 KiB
Plaintext
198 lines
6.7 KiB
Plaintext
/*************************************************************************
|
|
*
|
|
* $RCSfile: dbadmin.hrc,v $
|
|
*
|
|
* $Revision: 1.11 $
|
|
*
|
|
* last change: $Author: fs $ $Date: 2001-01-30 08:34:41 $
|
|
*
|
|
* The Contents of this file are made available subject to the terms of
|
|
* either of the following licenses
|
|
*
|
|
* - GNU Lesser General Public License Version 2.1
|
|
* - Sun Industry Standards Source License Version 1.1
|
|
*
|
|
* Sun Microsystems Inc., October, 2000
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2000 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* 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.
|
|
*
|
|
* 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.
|
|
*
|
|
* 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
|
|
*
|
|
*
|
|
* Sun Industry Standards Source License Version 1.1
|
|
* =================================================
|
|
* The contents of this file are subject to the Sun Industry Standards
|
|
* Source License Version 1.1 (the "License"); You may not use this file
|
|
* except in compliance with the License. You may obtain a copy of the
|
|
* License at http://www.openoffice.org/license.html.
|
|
*
|
|
* Software provided under this License is provided on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
|
|
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
* See the License for the specific provisions governing your rights and
|
|
* obligations concerning the Software.
|
|
*
|
|
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
|
|
*
|
|
* Copyright: 2000 by Sun Microsystems, Inc.
|
|
*
|
|
* All Rights Reserved.
|
|
*
|
|
* Contributor(s): _______________________________________
|
|
*
|
|
*
|
|
************************************************************************/
|
|
|
|
#ifndef _DBAUI_DBADMIN_HRC_
|
|
#define _DBAUI_DBADMIN_HRC_
|
|
|
|
//========================================================================
|
|
// control ids
|
|
|
|
#define FT_DATATYPE 1
|
|
#define FT_CONNECTURL 2
|
|
#define FT_DATASOURCENAME 3
|
|
#define FT_USERNAME 4
|
|
#define FT_PASSWORD 5
|
|
#define FT_OPTIONS 6
|
|
#define FT_CHARSET 7
|
|
#define FT_JDBCDRIVERCLASS 8
|
|
#define FT_FIELDSEPARATOR 9
|
|
#define FT_TEXTSEPARATOR 10
|
|
#define FT_DECIMALSEPARATOR 11
|
|
#define FT_THOUSANDSSEPARATOR 12
|
|
#define FT_EXTENSION 13
|
|
#define FT_TABLESUBSCRIPTION 14
|
|
#define FT_SPECIAL_MESSAGE 15
|
|
#define FT_LOGINTIMEOUT 16
|
|
|
|
#define LB_DATATYPE 1
|
|
#define LB_DATASOURCES 2
|
|
#define LB_CHARSET 3
|
|
#define LB_TIMEOUT_UNIT 4
|
|
#define LB_QUERIES 5
|
|
|
|
#define ET_CONNECTURL 1
|
|
#define ET_DATASOURCENAME 2
|
|
#define ET_USERNAME 3
|
|
#define ET_PASSWORD 4
|
|
#define ET_OPTIONS 5
|
|
#define ET_JDBCDRIVERCLASS 6
|
|
#define ET_TIMEOUT_NUMBER 7
|
|
|
|
#define PB_BROWSECONNECTION 1
|
|
#define PB_INDICIES 2
|
|
#define PB_ADDALLTABLES 3
|
|
#define PB_NEW_DATASOURCE 4
|
|
#define PB_NEWQUERY 5
|
|
#define PB_EDITQUERY 6
|
|
#define PB_DELETEQUERY 7
|
|
|
|
#define GB_CONNECTION 1
|
|
#define GB_DBASE_MAIN 2
|
|
#define GB_TABLESUBSCRIPTION 3
|
|
#define GB_QUERIES 4
|
|
|
|
#define CB_PASSWORD_REQUIRED 1
|
|
#define CB_SHOWDELETEDROWS 2
|
|
#define CB_HEADER 4
|
|
#define CB_SUPPRESVERSIONCL 5
|
|
|
|
#define FL_SEPARATOR1 1
|
|
#define FL_SEPARATOR2 2
|
|
|
|
#define CM_FIELDSEPARATOR 1
|
|
#define CM_TEXTSEPARATOR 2
|
|
#define CM_DECIMALSEPARATOR 3
|
|
#define CM_THOUSANDSSEPARATOR 4
|
|
#define CM_EXTENSION 5
|
|
|
|
#define WND_DATASOURCESELECTOR 1
|
|
#define WND_SELECTORBORDER 2
|
|
|
|
#define CTL_TABLESUBSCRIPTION 1
|
|
|
|
//========================================================================
|
|
// string ids (usually relative to other resources, that's why not necessarily unique)
|
|
|
|
#define STR_PAGETITLE_GENERAL 1
|
|
#define STR_PAGETITLE_DBASE 2
|
|
#define STR_PAGETITLE_JDBC 3
|
|
#define STR_PAGETITLE_ODBC 4
|
|
#define STR_PAGETITLE_ADABAS 5
|
|
#define STR_PAGETITLE_TEXT 6
|
|
#define STR_PAGETITLE_TABLESUBSCRIPTION 7
|
|
#define STR_FIELDSEPARATORLIST 8
|
|
#define STR_TEXTSEPARATORLIST 9
|
|
#define STR_DELIMITER_MISSING 10
|
|
#define STR_DELIMITER_MUST_DIFFER 11
|
|
#define STR_NO_WILDCARDS 12
|
|
#define STR_NAMEINVALID 13
|
|
#define STR_DATASOURCEDELETED 14
|
|
#define STR_COULDNOTLOAD_ODBCLIB 15
|
|
#define STR_NO_ADABASE_DATASOURCES 16
|
|
#define STR_PAGETITLE_ADO 17
|
|
#define STR_PAGETITLE_QUERIES 18
|
|
|
|
//========================================================================
|
|
// menu item ids
|
|
#define MID_NEW_DATASOURCE 1
|
|
#define MID_DELETE_DATASOURCE 2
|
|
#define MID_RESTORE_DATASOURCE 3
|
|
|
|
#endif // _DBAUI_DBADMIN_HRC_
|
|
|
|
/*************************************************************************
|
|
* history:
|
|
* $Log: not supported by cvs2svn $
|
|
* Revision 1.10 2001/01/26 06:59:12 fs
|
|
* some basics for the query administration page - not enabled yet
|
|
*
|
|
* Revision 1.9 2001/01/04 11:22:06 fs
|
|
* #81485# +STR_PAGETITLE_ADO
|
|
*
|
|
* Revision 1.8 2000/11/22 15:44:05 oj
|
|
* #80269# remove property long names
|
|
*
|
|
* Revision 1.7 2000/11/10 17:42:46 fs
|
|
* +STR_NO_ADABASE_DATASOURCES
|
|
*
|
|
* Revision 1.6 2000/10/24 12:11:15 fs
|
|
* functionality added: browsing for system data sources (ODBC/Adabas/dbase/text)
|
|
*
|
|
* Revision 1.5 2000/10/20 09:53:17 fs
|
|
* handling for the SuppresVersionColumns property of a data source
|
|
*
|
|
* Revision 1.4 2000/10/12 16:20:42 fs
|
|
* new implementations ... still under construction
|
|
*
|
|
* Revision 1.3 2000/10/11 11:31:03 fs
|
|
* new implementations - still under construction
|
|
*
|
|
* Revision 1.2 2000/10/09 12:39:29 fs
|
|
* some (a lot of) new imlpementations - still under development
|
|
*
|
|
* Revision 1.1 2000/10/05 10:04:46 fs
|
|
* initial checkin
|
|
*
|
|
*
|
|
* Revision 1.0 20.09.00 11:42:05 fs
|
|
************************************************************************/
|
|
|