summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-01-20 20:17:08 (EST)
committerRyan D. Brooks2011-01-20 20:17:08 (EST)
commite6596bcc5540a00676aab4897604c45499243b99 (patch)
tree9614f3b0129f0e2306890a1f7f90587fbb4ab243
parent2aeb90c168d14bef8af0a1c1a25797375cbba19f (diff)
downloadorg.eclipse.osee-e6596bcc5540a00676aab4897604c45499243b99.zip
org.eclipse.osee-e6596bcc5540a00676aab4897604c45499243b99.tar.gz
org.eclipse.osee-e6596bcc5540a00676aab4897604c45499243b99.tar.bz2
bug: Remove CheckBox select state boolean
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCheckBox.java1
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/workflow/FrameworkXWidgetProvider.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCheckBox.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCheckBox.java
index 1075ca3..e7e2d6a 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCheckBox.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCheckBox.java
@@ -27,7 +27,6 @@ public class XCheckBox extends XButtonCommon {
protected Button checkButton;
private Composite parent;
- protected boolean selected = false;
private boolean labelAfter = true;
public XCheckBox(String displayLabel) {
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/workflow/FrameworkXWidgetProvider.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/workflow/FrameworkXWidgetProvider.java
index 726639d..c1775db 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/workflow/FrameworkXWidgetProvider.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/workflow/FrameworkXWidgetProvider.java
@@ -181,7 +181,7 @@ public final class FrameworkXWidgetProvider {
XCheckBox checkBox = new XCheckBox(name);
checkBox.setLabelAfter(xWidgetLayoutData.getXOptionHandler().contains(XOption.LABEL_AFTER));
if (Strings.isValid(xWidgetLayoutData.getDefaultValue())) {
- checkBox.set(xWidgetLayoutData.getDefaultValue().equals("true"));
+ checkBox.set(Boolean.valueOf(xWidgetLayoutData.getDefaultValue()));
}
xWidget = checkBox;
} else if (xWidgetName.equals("XCheckBoxDam")) {