javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/ErrorDetailsView.java
equal
deleted
inserted
replaced
67 * This method is called once before view is opened. |
67 * This method is called once before view is opened. |
68 */ |
68 */ |
69 protected void createView() |
69 protected void createView() |
70 { |
70 { |
71 // Add title. |
71 // Add title. |
72 //String title = InstallerUiTexts.get(InstallerUiTexts.INSTALL_FAILED); |
72 String title = InstallerUiTexts.get(InstallerUiTexts.INSTALL_FAILED); |
73 String title = "Installation failed"; |
|
74 if (iInstallerUi.getInstallInfo() != null) |
73 if (iInstallerUi.getInstallInfo() != null) |
75 { |
74 { |
76 if (iInstallerUi.getInstallInfo().getOldVersion() != null) |
|
77 { |
|
78 title = "Update failed"; |
|
79 } |
|
80 Label titleLabel = createLabel(title, getColumns() - 1, SWT.WRAP); |
75 Label titleLabel = createLabel(title, getColumns() - 1, SWT.WRAP); |
81 titleLabel.setFont(iInstallerUi.getBoldFont()); |
76 titleLabel.setFont(iInstallerUi.getBoldFont()); |
82 // Add security icon. |
77 // Add security icon. |
83 iCertificates = iInstallerUi.getInstallInfo().getCertificates(); |
78 iCertificates = iInstallerUi.getInstallInfo().getCertificates(); |
84 createSecurityButton(); |
79 createSecurityButton(); |