1. Fix EDKT202 "Some externs do not have attribute SupArchList"
authorhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 1 Sep 2006 06:23:58 +0000 (06:23 +0000)
committerhche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 1 Sep 2006 06:23:58 +0000 (06:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1422 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/ExternsDlg.java

index c27c0022cbbf1e8f651b111963c9b009fb4f7460..b53cbf72437e2a61c1a83739f84c6a3d4a934d92 100644 (file)
@@ -403,9 +403,16 @@ public class ExternsDlg extends IDialog implements ItemListener {
             if (jComboBoxType.getSelectedItem().toString().equals(EnumerationData.EXTERNS_PCD_IS_DRIVER)) {\r
                 this.jComboBoxPcdIsDriver.setVisible(true);\r
                 this.jTextFieldC_Name.setVisible(false);\r
+                this.jLabelArch.setEnabled(false);\r
+                this.jArchCheckBox.setAllItemsEnabled(false);\r
+            } else if (jComboBoxType.getSelectedItem().toString().equals(EnumerationData.EXTERNS_SPECIFICATION)) {\r
+                this.jLabelArch.setEnabled(false);\r
+                this.jArchCheckBox.setAllItemsEnabled(false);\r
             } else {\r
                 this.jComboBoxPcdIsDriver.setVisible(false);\r
                 this.jTextFieldC_Name.setVisible(true);\r
+                this.jLabelArch.setEnabled(true);\r
+                this.jArchCheckBox.setAllItemsEnabled(true);\r
             }\r
         }\r
     }\r