]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFrameworkModules.java
add support arch check for pcd entries when adding a module to platform, sync. platfo...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / FpdFrameworkModules.java
index 2d8b23760e42a7859c9865a53899cbc9f46f5d34..9e4df720b01183de20422d673c94933561362bd9 100644 (file)
@@ -672,17 +672,18 @@ public class FpdFrameworkModules extends IInternalFrame {
     }\r
     \r
     private void showSettingsDlg (int row) {\r
     }\r
     \r
     private void showSettingsDlg (int row) {\r
-        try {\r
-            Vector<String> vExceptions = new Vector<String>();\r
-            if (ffc.adjustPcd(row, vExceptions)) {\r
-                JOptionPane.showMessageDialog(frame, "Pcd entries sync. with those in MSA files.");\r
-                docConsole.setSaved(false);\r
-            }\r
-        }\r
-        catch (Exception exp) {\r
-            JOptionPane.showMessageDialog(frame, exp.getMessage());\r
-//            return;\r
-        }\r
+//             As PCD sync. check is full platform range now during opening FrameworkModules editor,\r
+//     the following check is no longer needed.\r
+//        try {\r
+//            Vector<String> vExceptions = new Vector<String>();\r
+//            if (ffc.adjustPcd(row, vExceptions)) {\r
+//                JOptionPane.showMessageDialog(frame, "Pcd entries sync. with those in MSA files.");\r
+//                docConsole.setSaved(false);\r
+//            }\r
+//        }\r
+//        catch (Exception exp) {\r
+//            JOptionPane.showMessageDialog(frame, exp.getMessage());\r
+//        }\r
         \r
         if (settingDlg == null) {\r
             settingDlg = new FpdModuleSA(ffc);\r
         \r
         if (settingDlg == null) {\r
             settingDlg = new FpdModuleSA(ffc);\r
@@ -864,7 +865,7 @@ public class FpdFrameworkModules extends IInternalFrame {
             for (int i = 0; i < vExceptions.size(); ++i) {\r
                 errorMsg += " " + vExceptions.get(i) + "\n";\r
             }\r
             for (int i = 0; i < vExceptions.size(); ++i) {\r
                 errorMsg += " " + vExceptions.get(i) + "\n";\r
             }\r
-            JOptionPane.showMessageDialog(frame, "Error occurred during synchronization:" + errorMsg);\r
+            JOptionPane.showMessageDialog(frame, "Error occurred during synchronization:\n" + errorMsg);\r
         }\r
     }\r
 \r
         }\r
     }\r
 \r