diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration')
3 files changed, 19 insertions, 19 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java index 4d0bd3c5..e24aa9a8 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java @@ -831,43 +831,43 @@ public class AdvancedConfigurationComposite extends ConfigurationCompositeBase { public void reloadResources() { SWTUtils.setLocalizedText(grpSignatur, "advanced_config.Signature_Title"); SWTUtils.setLocalizedText(btnAutomatischePositionierung, "advanced_config.AutoPosition"); - this.btnAutomatischePositionierung.setToolTipText(Messages.getString("advanced_config.AutoPosition_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnAutomatischePositionierung, "advanced_config.AutoPosition_ToolTip"); SWTUtils.setLocalizedText(grpPlaceholder, "advanced_config.Placeholder_Title"); SWTUtils.setLocalizedText(btnPlatzhalterVerwenden, "advanced_config.UseMarker"); - this.btnPlatzhalterVerwenden.setToolTipText(Messages.getString("advanced_config.UseMarker_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnPlatzhalterVerwenden, "advanced_config.UseMarker_ToolTip"); SWTUtils.setLocalizedText(btnSignatureFieldsUsage, "advanced_config.UseSignatureFields"); - this.btnSignatureFieldsUsage.setToolTipText(Messages.getString("advanced_config.UseSignatureFields_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnSignatureFieldsUsage, "advanced_config.UseSignatureFields_ToolTip"); SWTUtils.setLocalizedText(btnEnablePlaceholderUsage, "advanced_config.Placeholder_Enabled"); SWTUtils.setLocalizedText(btnPdfACompat, "advanced_config.PdfACompat"); - this.btnPdfACompat.setToolTipText(Messages.getString("advanced_config.PdfACompat_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnPdfACompat, "advanced_config.PdfACompat_ToolTip"); SWTUtils.setLocalizedText(lblTransparenz, "advanced_config.SigPHTransparency"); SWTUtils.setLocalizedText(lblTransparenzLinks, "advanced_config.SigPHTransparencyMin"); SWTUtils.setLocalizedText(lblTransparenzRechts, "advanced_config.SigPHTransparencyMax"); - this.sclTransparenz.setToolTipText(Messages.getString("advanced_config.SigPHTransparencyTooltip")); + SWTUtils.setLocalizedToolTipText(sclTransparenz, "advanced_config.SigPHTransparencyTooltip"); SWTUtils.setLocalizedText(grpBkuAuswahl, "advanced_config.BKUSelection_Title"); - this.cmbBKUAuswahl.setToolTipText(Messages.getString("advanced_config.BKUSelection_ToolTip")); + SWTUtils.setLocalizedToolTipText(cmbBKUAuswahl, "advanced_config.BKUSelection_ToolTip"); SWTUtils.setLocalizedText(btnKeystoreEnabled, "advanced_config.KeystoreEnabled"); - this.btnKeystoreEnabled.setToolTipText(Messages.getString("advanced_config.KeystoreEnabled_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnKeystoreEnabled, "advanced_config.KeystoreEnabled_ToolTip"); SWTUtils.setLocalizedText(grpSpeicherort, "advanced_config.OutputFolder_Title"); SWTUtils.setLocalizedText(lblDefaultOutputFolder, "advanced_config.OutputFolder"); - this.txtOutputFolder.setToolTipText(Messages.getString("advanced_config.OutputFolder_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtOutputFolder, "advanced_config.OutputFolder_ToolTip"); SWTUtils.setLocalizedText(btnBrowse, "common.browse"); SWTUtils.setLocalizedText(grpLocaleAuswahl, "advanced_config.LocaleSelection_Title"); - this.cmbLocaleAuswahl.setToolTipText(Messages.getString("advanced_config.LocaleSelection_ToolTip")); + SWTUtils.setLocalizedToolTipText(cmbLocaleAuswahl, "advanced_config.LocaleSelection_ToolTip"); SWTUtils.setLocalizedText(grpUpdateCheck, "advanced_config.UpdateCheck_Title"); SWTUtils.setLocalizedText(btnUpdateCheck, "advanced_config.UpdateCheck"); - this.btnUpdateCheck.setToolTipText(Messages.getString("advanced_config.UpdateCheck_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnUpdateCheck, "advanced_config.UpdateCheck_ToolTip"); SWTUtils.setLocalizedText(grpProxy, "advanced_config.Proxy_Title"); SWTUtils.setLocalizedText(lblProxyHost, "advanced_config.ProxyHost"); - this.txtProxyHost.setToolTipText(Messages.getString("advanced_config.ProxyHost_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtProxyHost, "advanced_config.ProxyHost_ToolTip"); this.txtProxyHost.setMessage(Messages.getString("advanced_config.ProxyHost_Template")); SWTUtils.setLocalizedText(lblProxyPort, "advanced_config.ProxyPort"); - this.txtProxyPort.setToolTipText(Messages.getString("advanced_config.ProxyPort_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtProxyPort, "advanced_config.ProxyPort_ToolTip"); this.txtProxyPort.setMessage(Messages.getString("advanced_config.ProxyPort_Template")); // StateComposite.setLocalizedText(lblProxyUser, "advanced_config.ProxyUser"); diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java index d8c40ed1..e8e4470b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java @@ -580,18 +580,18 @@ public class KeystoreConfigurationComposite extends ConfigurationCompositeBase { SWTUtils.setLocalizedText(grpKeystore, "keystore_config.Keystore_Title"); SWTUtils.setLocalizedText(lblKeystoreFile, "keystore_config.KeystoreFile"); SWTUtils.setLocalizedText(btnBrowse, "common.browse"); - this.txtKeystoreFile.setToolTipText(Messages.getString("keystore_config.KeystoreFile_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtKeystoreFile, "keystore_config.KeystoreFile_ToolTip"); SWTUtils.setLocalizedText(lblKeystoreType, "keystore_config.KeystoreType"); reloadKeystoreTypeStrings(); SWTUtils.setLocalizedText(lblKeystorePassStoreType, "keystore_config.SaveToWhere.Header"); reloadKeystorePassStorageTypeStrings(); this.cmbKeystoreType.setItems(this.keystoreTypes.keySet().toArray(new String[0])); SWTUtils.setLocalizedText(lblKeystoreStorePass, "keystore_config.KeystoreStorePass"); - this.txtKeystoreStorePass.setToolTipText(Messages.getString("keystore_config.KeystoreStorePass_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtKeystoreStorePass, "keystore_config.KeystoreStorePass_ToolTip"); SWTUtils.setLocalizedText(btnLoad, "keystore_config.Load"); - this.btnLoad.setToolTipText(Messages.getString("keystore_config.Load_ToolTip")); + SWTUtils.setLocalizedToolTipText(btnLoad, "keystore_config.Load_ToolTip"); SWTUtils.setLocalizedText(lblKeystoreAlias, "keystore_config.KeystoreAlias"); SWTUtils.setLocalizedText(lblKeystoreKeyPass, "keystore_config.KeystoreKeyPass"); - this.txtKeystoreKeyPass.setToolTipText(Messages.getString("keystore_config.KeystoreKeyPass_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtKeystoreKeyPass, "keystore_config.KeystoreKeyPass_ToolTip"); } } diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index 03ba7b60..52c78e9d 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -645,7 +645,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { public void reloadResources() { SWTUtils.setLocalizedText(grpHandySignatur, "simple_config.MobileBKU_Title"); SWTUtils.setLocalizedText(lblMobileNumber, "simple_config.PhoneNumber"); - this.txtMobileNumber.setToolTipText(Messages.getString("simple_config.ExampleNumber_ToolTip")); + SWTUtils.setLocalizedToolTipText(txtMobileNumber, "simple_config.ExampleNumber_ToolTip"); this.txtMobileNumber.setMessage(Messages.getString("simple_config.ExampleNumber")); SWTUtils.setLocalizedText(grpPreview, "simple_config.Preview_Title"); @@ -653,11 +653,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { SWTUtils.setLocalizedText(btnBrowseLogo, "simple_config.ReplaceEmblem"); SWTUtils.setLocalizedText(grpSignatureNote, "simple_config.Note_Title"); SWTUtils.setLocalizedText(lblSignatureNote, "simple_config.Note"); - this.txtSignatureNote.setToolTipText(Messages.getString("simple_config.Note_Tooltip")); + SWTUtils.setLocalizedToolTipText(txtSignatureNote, "simple_config.Note_Tooltip"); SWTUtils.setLocalizedText(btnSignatureNoteDefault, "simple_config.Note_SetDefault"); SWTUtils.setLocalizedText(grpSignatureLang, "simple_config.SigBlockLang_Title"); - this.cmbSignatureLang.setToolTipText(Messages.getString("simple_config.SigBlockLang_ToolTip")); + SWTUtils.setLocalizedToolTipText(cmbSignatureLang, "simple_config.SigBlockLang_ToolTip"); SWTUtils.setLocalizedText(grpSignatureProfile, "simple_config.SigProfile_Title"); this.cmbSignatureProfiles.setItems(Arrays.stream(Profile.values()).map(v -> Messages.getString("simple_config."+v.name())).toArray(String[]::new)); |