javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/ViewBase.java
equal
deleted
inserted
replaced
219 } |
219 } |
220 |
220 |
221 /** Set title for this view. */ |
221 /** Set title for this view. */ |
222 public void setTitle(String aTitle) |
222 public void setTitle(String aTitle) |
223 { |
223 { |
224 // Dialog shells have no title anymore |
224 // Dialog shells have no title. |
225 } |
225 } |
226 |
226 |
227 /** Disposes this view. */ |
227 /** Disposes this view. */ |
228 public void dispose() |
228 public void dispose() |
229 { |
229 { |
547 } |
547 } |
548 |
548 |
549 // Add suite name and version. |
549 // Add suite name and version. |
550 createAppInfoLabel( |
550 createAppInfoLabel( |
551 InstallerUiTexts.get( |
551 InstallerUiTexts.get( |
552 InstallerUiTexts.SUITE_NAME, |
552 InstallerUiTexts.SUITE_NAME_VERSION, |
553 new String[] { aInstallInfo.getName(), |
553 new String[] { aInstallInfo.getName(), |
554 aInstallInfo.getVersion() })); |
554 aInstallInfo.getVersion() })); |
555 if (aFull) |
555 if (aFull) |
556 { |
556 { |
557 // Add vendor. |
557 // Add vendor. |
575 if (size > 1024*1024) |
575 if (size > 1024*1024) |
576 { |
576 { |
577 createAppInfoLabel( |
577 createAppInfoLabel( |
578 InstallerUiTexts.get( |
578 InstallerUiTexts.get( |
579 InstallerUiTexts.SIZE_MB, |
579 InstallerUiTexts.SIZE_MB, |
580 new String[] { Long.toString(1 + size/(1024*1024)) })); |
580 new Object[] { new Integer((int)(1 + size/(1024*1024))) })); |
581 } |
581 } |
582 else |
582 else |
583 { |
583 { |
584 createAppInfoLabel( |
584 createAppInfoLabel( |
585 InstallerUiTexts.get( |
585 InstallerUiTexts.get( |
586 InstallerUiTexts.SIZE_KB, |
586 InstallerUiTexts.SIZE_KB, |
587 new String[] { Long.toString(1 + size/1024) })); |
587 new Object[] { new Integer((int)(1 + size/1024)) })); |
588 } |
588 } |
589 } |
589 } |
590 if (aFull) |
590 if (aFull) |
591 { |
591 { |
592 // Add application names. |
592 // Add application names. |