X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fcommon%2Fui%2FArchCheckBox.java;fp=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fcommon%2Fui%2FArchCheckBox.java;h=d02c1214330e0aca0858d499ff22241c46fd0e07;hp=62d4a33cb22fea8e439bd3b72069838e83ab701a;hb=e08433efeb382abec06fec875936586ee94d5e2a;hpb=ee2db093289707e787eeea571c0180c2376fac95 diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/ArchCheckBox.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/ArchCheckBox.java index 62d4a33cb2..d02c121433 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/ArchCheckBox.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/ArchCheckBox.java @@ -158,22 +158,22 @@ public class ArchCheckBox extends JPanel { public Vector getSelectedItemsVector() { Vector v = new Vector(); - if (this.jCheckBoxIa32.isSelected()) { + if (this.jCheckBoxIa32.isSelected() && this.jCheckBoxIa32.isEnabled()) { v.addElement(jCheckBoxIa32.getText()); } - if (this.jCheckBoxX64.isSelected()) { + if (this.jCheckBoxX64.isSelected() && this.jCheckBoxX64.isEnabled()) { v.addElement(jCheckBoxX64.getText()); } - if (this.jCheckBoxIpf.isSelected()) { + if (this.jCheckBoxIpf.isSelected() && this.jCheckBoxIpf.isEnabled()) { v.addElement(jCheckBoxIpf.getText()); } - if (this.jCheckBoxEbc.isSelected()) { + if (this.jCheckBoxEbc.isSelected() && this.jCheckBoxEbc.isEnabled()) { v.addElement(jCheckBoxEbc.getText()); } - if (this.jCheckBoxArm.isSelected()) { + if (this.jCheckBoxArm.isSelected() && this.jCheckBoxArm.isEnabled()) { v.addElement(jCheckBoxArm.getText()); } - if (this.jCheckBoxPpc.isSelected()) { + if (this.jCheckBoxPpc.isSelected() && this.jCheckBoxPpc.isEnabled()) { v.addElement(jCheckBoxPpc.getText()); } return v; @@ -181,22 +181,22 @@ public class ArchCheckBox extends JPanel { public String getSelectedItemsString() { String s = ""; - if (this.jCheckBoxIa32.isSelected()) { + if (this.jCheckBoxIa32.isSelected() && this.jCheckBoxIa32.isEnabled()) { s = s + jCheckBoxIa32.getText() + " "; } - if (this.jCheckBoxX64.isSelected()) { + if (this.jCheckBoxX64.isSelected() && this.jCheckBoxX64.isEnabled()) { s = s + jCheckBoxX64.getText() + " "; } - if (this.jCheckBoxIpf.isSelected()) { + if (this.jCheckBoxIpf.isSelected() && this.jCheckBoxIpf.isEnabled()) { s = s + jCheckBoxIpf.getText() + " "; } - if (this.jCheckBoxEbc.isSelected()) { + if (this.jCheckBoxEbc.isSelected() && this.jCheckBoxEbc.isEnabled()) { s = s + jCheckBoxEbc.getText() + " "; } - if (this.jCheckBoxArm.isSelected()) { + if (this.jCheckBoxArm.isSelected() && this.jCheckBoxArm.isEnabled()) { s = s + jCheckBoxArm.getText() + " "; } - if (this.jCheckBoxPpc.isSelected()) { + if (this.jCheckBoxPpc.isSelected() && this.jCheckBoxPpc.isEnabled()) { s = s + jCheckBoxPpc.getText() + " "; } return s.trim();