javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/InstallConfirmationView.java
equal
deleted
inserted
replaced
160 } |
160 } |
161 // End of user selection widgets creation. |
161 // End of user selection widgets creation. |
162 |
162 |
163 // After other widgets have been added, add content to |
163 // After other widgets have been added, add content to |
164 // application info Composite. |
164 // application info Composite. |
165 addAppInfo(iInstallInfo, true); |
165 addAppInfo(iInstallInfo, true, true); |
166 } |
166 } |
167 |
167 |
168 /** |
168 /** |
169 * This method is called after user has answered |
169 * This method is called after user has answered |
170 * to confirmation. |
170 * to confirmation. |
239 switch (aType) |
239 switch (aType) |
240 { |
240 { |
241 case InstallInfo.DRIVE_TYPE_UNKNOWN: |
241 case InstallInfo.DRIVE_TYPE_UNKNOWN: |
242 switch (prefix) |
242 switch (prefix) |
243 { |
243 { |
244 case 0: |
|
245 textId = InstallerUiTexts.DRIVE_TYPE_UNKNOWN; |
|
246 textParams = new String[] { driveLetter }; |
|
247 break; |
|
248 case 1: |
244 case 1: |
249 textId = InstallerUiTexts.DRIVE_TYPE_UNKNOWN_KB; |
245 textId = InstallerUiTexts.DRIVE_TYPE_UNKNOWN_KB; |
250 break; |
246 break; |
251 case 2: |
247 case 2: |
252 textId = InstallerUiTexts.DRIVE_TYPE_UNKNOWN_MB; |
248 textId = InstallerUiTexts.DRIVE_TYPE_UNKNOWN_MB; |
257 } |
253 } |
258 break; |
254 break; |
259 case InstallInfo.DRIVE_TYPE_PHONE_MEMORY: |
255 case InstallInfo.DRIVE_TYPE_PHONE_MEMORY: |
260 switch (prefix) |
256 switch (prefix) |
261 { |
257 { |
262 case 0: |
|
263 textId = InstallerUiTexts.DRIVE_TYPE_PHONE_MEMORY; |
|
264 textParams = new String[] { driveLetter }; |
|
265 break; |
|
266 case 1: |
258 case 1: |
267 textId = InstallerUiTexts.DRIVE_TYPE_PHONE_MEMORY_KB; |
259 textId = InstallerUiTexts.DRIVE_TYPE_PHONE_MEMORY_KB; |
268 break; |
260 break; |
269 case 2: |
261 case 2: |
270 textId = InstallerUiTexts.DRIVE_TYPE_PHONE_MEMORY_MB; |
262 textId = InstallerUiTexts.DRIVE_TYPE_PHONE_MEMORY_MB; |
275 } |
267 } |
276 break; |
268 break; |
277 case InstallInfo.DRIVE_TYPE_MEMORY_CARD: |
269 case InstallInfo.DRIVE_TYPE_MEMORY_CARD: |
278 switch (prefix) |
270 switch (prefix) |
279 { |
271 { |
280 case 0: |
|
281 textId = InstallerUiTexts.DRIVE_TYPE_MEMORY_CARD; |
|
282 textParams = new String[] { driveLetter }; |
|
283 break; |
|
284 case 1: |
272 case 1: |
285 textId = InstallerUiTexts.DRIVE_TYPE_MEMORY_CARD_KB; |
273 textId = InstallerUiTexts.DRIVE_TYPE_MEMORY_CARD_KB; |
286 break; |
274 break; |
287 case 2: |
275 case 2: |
288 textId = InstallerUiTexts.DRIVE_TYPE_MEMORY_CARD_MB; |
276 textId = InstallerUiTexts.DRIVE_TYPE_MEMORY_CARD_MB; |
293 } |
281 } |
294 break; |
282 break; |
295 case InstallInfo.DRIVE_TYPE_INTERNAL_MASS_STORAGE: |
283 case InstallInfo.DRIVE_TYPE_INTERNAL_MASS_STORAGE: |
296 switch (prefix) |
284 switch (prefix) |
297 { |
285 { |
298 case 0: |
|
299 textId = InstallerUiTexts.DRIVE_TYPE_INTERNAL_MASS_STORAGE; |
|
300 textParams = new String[] { driveLetter }; |
|
301 break; |
|
302 case 1: |
286 case 1: |
303 textId = InstallerUiTexts.DRIVE_TYPE_INTERNAL_MASS_STORAGE_KB; |
287 textId = InstallerUiTexts.DRIVE_TYPE_INTERNAL_MASS_STORAGE_KB; |
304 break; |
288 break; |
305 case 2: |
289 case 2: |
306 textId = InstallerUiTexts.DRIVE_TYPE_INTERNAL_MASS_STORAGE_MB; |
290 textId = InstallerUiTexts.DRIVE_TYPE_INTERNAL_MASS_STORAGE_MB; |