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