1*81d089aeSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*81d089aeSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*81d089aeSAndrew Rist * distributed with this work for additional information 6*81d089aeSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance 9*81d089aeSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*81d089aeSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*81d089aeSAndrew Rist * software distributed under the License is distributed on an 15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*81d089aeSAndrew Rist * KIND, either express or implied. See the License for the 17*81d089aeSAndrew Rist * specific language governing permissions and limitations 18*81d089aeSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*81d089aeSAndrew Rist *************************************************************/ 21*81d089aeSAndrew Rist 22*81d089aeSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef DBAUI_ADABASSTAT_HRC 25cdf0e10cSrcweir#include "AdabasStat.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 28cdf0e10cSrcweir#include "dbu_dlg.hrc" 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define WINDOW_SIZE_X 260 32cdf0e10cSrcweir#define WINDOW_SIZE_Y 190 33cdf0e10cSrcweir 34cdf0e10cSrcweirModalDialog DLG_ADABASSTAT 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_ADABASSTAT"; 37cdf0e10cSrcweir OutputSize = TRUE ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir Closeable = TRUE ; 40cdf0e10cSrcweir SVLook = TRUE ; 41cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 42cdf0e10cSrcweir 43cdf0e10cSrcweir FixedLine FL_FILES 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 12, 8 ) ; 47cdf0e10cSrcweir Text [ en-US ] = "Database files"; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir 50cdf0e10cSrcweir FixedText FT_SYSDEVSPACE 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 53cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 54cdf0e10cSrcweir Text [ en-US ] = "S~YSDEVSPACE:"; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir 57cdf0e10cSrcweir Edit ET_SYSDEVSPACE 58cdf0e10cSrcweir { 59cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_ADABASSTAT:ET_SYSDEVSPACE"; 60cdf0e10cSrcweir Border = TRUE ; 61cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 14 ) ; 62cdf0e10cSrcweir Size = MAP_APPFONT ( 128 , 12 ) ; 63cdf0e10cSrcweir TabStop = TRUE ; 64cdf0e10cSrcweir ReadOnly = TRUE; 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir 67cdf0e10cSrcweir FixedText FT_TRANSACTIONLOG 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 ) ; 70cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 71cdf0e10cSrcweir Text [ en-US ] = "~TRANSACTIONLOG:"; 72cdf0e10cSrcweir }; 73cdf0e10cSrcweir 74cdf0e10cSrcweir Edit ET_TRANSACTIONLOG 75cdf0e10cSrcweir { 76cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_ADABASSTAT:ET_TRANSACTIONLOG"; 77cdf0e10cSrcweir Border = TRUE ; 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 31 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 128 , 12 ) ; 80cdf0e10cSrcweir TabStop = TRUE ; 81cdf0e10cSrcweir ReadOnly = TRUE; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir 84cdf0e10cSrcweir FixedText FT_DATADEVSPACE 85cdf0e10cSrcweir { 86cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 49 ) ; 87cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 88cdf0e10cSrcweir Text [ en-US ] = "DATAD~EVSPACE:"; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91cdf0e10cSrcweir ListBox LB_DATADEVS 92cdf0e10cSrcweir { 93cdf0e10cSrcweir HelpID = "dbaccess:ListBox:DLG_ADABASSTAT:LB_DATADEVS"; 94cdf0e10cSrcweir Border = TRUE ; 95cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 48 ) ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 128 , 42 ) ; 97cdf0e10cSrcweir TabStop = TRUE; 98cdf0e10cSrcweir AutoHScroll = TRUE; 99cdf0e10cSrcweir VScroll = TRUE; 100cdf0e10cSrcweir HScroll = TRUE; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir FixedLine FL_SIZES 103cdf0e10cSrcweir { 104cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 99 ) ; 105cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 12 , 8 ) ; 106cdf0e10cSrcweir Text [ en-US ] = "Database sizes"; 107cdf0e10cSrcweir }; 108cdf0e10cSrcweir 109cdf0e10cSrcweir FixedText FT_SIZE 110cdf0e10cSrcweir { 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 110 ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 113cdf0e10cSrcweir Text [ en-US ] = "S~ize (MB):"; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir 116cdf0e10cSrcweir Edit ET_SIZE 117cdf0e10cSrcweir { 118cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_ADABASSTAT:ET_SIZE"; 119cdf0e10cSrcweir Border = TRUE ; 120cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 109 ) ; 121cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 12 ) ; 122cdf0e10cSrcweir TabStop = TRUE ; 123cdf0e10cSrcweir ReadOnly = TRUE; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir 126cdf0e10cSrcweir FixedText FT_FREESIZE 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 127 ) ; 129cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 130cdf0e10cSrcweir Text [ en-US ] = "~Free memory space (MB):"; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir 133cdf0e10cSrcweir Edit ET_FREESIZE 134cdf0e10cSrcweir { 135cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_ADABASSTAT:ET_FREESIZE"; 136cdf0e10cSrcweir Border = TRUE ; 137cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 126 ) ; 138cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 12 ) ; 139cdf0e10cSrcweir TabStop = TRUE ; 140cdf0e10cSrcweir ReadOnly = TRUE; 141cdf0e10cSrcweir }; 142cdf0e10cSrcweir 143cdf0e10cSrcweir FixedText FT_MEMORYUSING 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 144 ) ; 146cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 147cdf0e10cSrcweir Text [ en-US ] = "~Memory utilization (in %):"; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir 150cdf0e10cSrcweir NumericField ET_MEMORYUSING 151cdf0e10cSrcweir { 152cdf0e10cSrcweir HelpID = "dbaccess:NumericField:DLG_ADABASSTAT:ET_MEMORYUSING"; 153cdf0e10cSrcweir Border = TRUE ; 154cdf0e10cSrcweir Pos = MAP_APPFONT ( 120 , 144 ) ; 155cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 12 ) ; 156cdf0e10cSrcweir TabStop = TRUE ; 157cdf0e10cSrcweir ReadOnly = TRUE; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir 160cdf0e10cSrcweir OKButton PB_OK 161cdf0e10cSrcweir { 162cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X - 56,WINDOW_SIZE_Y - 20 ) ; 163cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 164cdf0e10cSrcweir TabStop = TRUE ; 165cdf0e10cSrcweir DefButton = TRUE ; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir 168cdf0e10cSrcweir Text [ en-US ] = "Database Statistics"; 169cdf0e10cSrcweir}; 170cdf0e10cSrcweir 171cdf0e10cSrcweirString STR_ADABAS_HELP_SYSDEVSPACE 172cdf0e10cSrcweir{ 173cdf0e10cSrcweir Text [ en-US ] = "Contains the system tables"; 174cdf0e10cSrcweir}; 175cdf0e10cSrcweir 176cdf0e10cSrcweirString STR_ADABAS_HELP_TRANSACT 177cdf0e10cSrcweir{ 178cdf0e10cSrcweir Text [ en-US ] = "Contains information about transaction"; 179cdf0e10cSrcweir}; 180cdf0e10cSrcweir 181cdf0e10cSrcweirString STR_ADABAS_HELP_DATADEVSPACES 182cdf0e10cSrcweir{ 183cdf0e10cSrcweir Text [ en-US ] = "Contains all data files"; 184cdf0e10cSrcweir}; 185cdf0e10cSrcweir 186cdf0e10cSrcweirString STR_ADABAS_HELP_SIZE 187cdf0e10cSrcweir{ 188cdf0e10cSrcweir Text [ en-US ] = "Total size of the database files"; 189cdf0e10cSrcweir}; 190cdf0e10cSrcweir 191cdf0e10cSrcweirString STR_ADABAS_HELP_FREESIZE 192cdf0e10cSrcweir{ 193cdf0e10cSrcweir Text [ en-US ] = "Currently available space before a new datadev file is created."; 194cdf0e10cSrcweir}; 195cdf0e10cSrcweir 196cdf0e10cSrcweirString STR_ADABAS_HELP_MEMORYUSING 197cdf0e10cSrcweir{ 198cdf0e10cSrcweir Text [ en-US ] = "Currently used memory"; 199cdf0e10cSrcweir}; 200cdf0e10cSrcweir 201cdf0e10cSrcweirString STR_ADABAS_ERROR_SYSTEMTABLES 202cdf0e10cSrcweir{ 203cdf0e10cSrcweir Text [ en-US ] = "No information could be displayed because no access rights exist for the required system tables."; 204cdf0e10cSrcweir}; 205