]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/LibraryClassDefsDlg.java
1. Wrap text by word when showing a message box
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / dialog / LibraryClassDefsDlg.java
index 00fe724ae2ab35ea2a62a5e67fdbb925e16dacdf..cb89109d3dc05ade3d1c5fb8086c3c663d2aa75c 100644 (file)
@@ -468,11 +468,11 @@ public class LibraryClassDefsDlg extends IDialog {
         // Check LibraryClass\r
         //\r
         if (this.jComboBoxLibraryClassName.getSelectedItem() == null) {\r
-            Log.err("No Library Class can be added");\r
+            Log.wrn("Update Library Class Definitions", "No Library Class can be added");\r
             return false;\r
         }\r
         if (!DataValidation.isLibraryClass(this.jComboBoxLibraryClassName.getSelectedItem().toString())) {\r
-            Log.err("Incorrect data type for Library Class");\r
+            Log.wrn("Update Library Class Definitions", "Incorrect data type for Library Class");\r
             return false;\r
         }\r
 \r
@@ -501,7 +501,7 @@ public class LibraryClassDefsDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldFeatureFlag.getText())) {\r
             if (!DataValidation.isFeatureFlag(this.jTextFieldFeatureFlag.getText())) {\r
-                Log.err("Incorrect data type for Feature Flag");\r
+                Log.wrn("Update Library Class Definitions", "Incorrect data type for Feature Flag");\r
                 return false;\r
             }\r
         }\r