]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/ArchCheckBox.java
1. Fix EDKT321 A module's all top level elements' arch should be in range of the...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / ui / ArchCheckBox.java
index 62d4a33cb22fea8e439bd3b72069838e83ab701a..d02c1214330e0aca0858d499ff22241c46fd0e07 100644 (file)
@@ -158,22 +158,22 @@ public class ArchCheckBox extends JPanel {
 \r
     public Vector<String> getSelectedItemsVector() {\r
         Vector<String> v = new Vector<String>();\r
-        if (this.jCheckBoxIa32.isSelected()) {\r
+        if (this.jCheckBoxIa32.isSelected() && this.jCheckBoxIa32.isEnabled()) {\r
             v.addElement(jCheckBoxIa32.getText());\r
         }\r
-        if (this.jCheckBoxX64.isSelected()) {\r
+        if (this.jCheckBoxX64.isSelected() && this.jCheckBoxX64.isEnabled()) {\r
             v.addElement(jCheckBoxX64.getText());\r
         }\r
-        if (this.jCheckBoxIpf.isSelected()) {\r
+        if (this.jCheckBoxIpf.isSelected() && this.jCheckBoxIpf.isEnabled()) {\r
             v.addElement(jCheckBoxIpf.getText());\r
         }\r
-        if (this.jCheckBoxEbc.isSelected()) {\r
+        if (this.jCheckBoxEbc.isSelected() && this.jCheckBoxEbc.isEnabled()) {\r
             v.addElement(jCheckBoxEbc.getText());\r
         }\r
-        if (this.jCheckBoxArm.isSelected()) {\r
+        if (this.jCheckBoxArm.isSelected() && this.jCheckBoxArm.isEnabled()) {\r
             v.addElement(jCheckBoxArm.getText());\r
         }\r
-        if (this.jCheckBoxPpc.isSelected()) {\r
+        if (this.jCheckBoxPpc.isSelected() && this.jCheckBoxPpc.isEnabled()) {\r
             v.addElement(jCheckBoxPpc.getText());\r
         }\r
         return v;\r
@@ -181,22 +181,22 @@ public class ArchCheckBox extends JPanel {
 \r
     public String getSelectedItemsString() {\r
         String s = "";\r
-        if (this.jCheckBoxIa32.isSelected()) {\r
+        if (this.jCheckBoxIa32.isSelected() && this.jCheckBoxIa32.isEnabled()) {\r
             s = s + jCheckBoxIa32.getText() + " ";\r
         }\r
-        if (this.jCheckBoxX64.isSelected()) {\r
+        if (this.jCheckBoxX64.isSelected() && this.jCheckBoxX64.isEnabled()) {\r
             s = s + jCheckBoxX64.getText() + " ";\r
         }\r
-        if (this.jCheckBoxIpf.isSelected()) {\r
+        if (this.jCheckBoxIpf.isSelected() && this.jCheckBoxIpf.isEnabled()) {\r
             s = s + jCheckBoxIpf.getText() + " ";\r
         }\r
-        if (this.jCheckBoxEbc.isSelected()) {\r
+        if (this.jCheckBoxEbc.isSelected() && this.jCheckBoxEbc.isEnabled()) {\r
             s = s + jCheckBoxEbc.getText() + " ";\r
         }\r
-        if (this.jCheckBoxArm.isSelected()) {\r
+        if (this.jCheckBoxArm.isSelected() && this.jCheckBoxArm.isEnabled()) {\r
             s = s + jCheckBoxArm.getText() + " ";\r
         }\r
-        if (this.jCheckBoxPpc.isSelected()) {\r
+        if (this.jCheckBoxPpc.isSelected() && this.jCheckBoxPpc.isEnabled()) {\r
             s = s + jCheckBoxPpc.getText() + " ";\r
         }\r
         return s.trim();\r