summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshawn.f.cook2011-10-26 11:33:09 (EDT)
committerRoberto E. Escobar2011-10-26 11:33:09 (EDT)
commitf467c1d4c4a42e1d7b912ecb7962b6f536ff608f (patch)
tree985612015534e27748aaee5f009e9ed5b958ea5f
parent648efe1a07af17c79ad3e7727e999fe1afd067b2 (diff)
downloadorg.eclipse.osee-f467c1d4c4a42e1d7b912ecb7962b6f536ff608f.zip
org.eclipse.osee-f467c1d4c4a42e1d7b912ecb7962b6f536ff608f.tar.gz
org.eclipse.osee-f467c1d4c4a42e1d7b912ecb7962b6f536ff608f.tar.bz2
feature[ats_18K4T]: Implement locking fix for OseeDisplayOptionsComponent
-rw-r--r--plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeDisplayOptionsComponentImpl.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeDisplayOptionsComponentImpl.java b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeDisplayOptionsComponentImpl.java
index 55fb6ad..7530022 100644
--- a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeDisplayOptionsComponentImpl.java
+++ b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeDisplayOptionsComponentImpl.java
@@ -27,7 +27,7 @@ public class OseeDisplayOptionsComponentImpl extends VerticalLayout implements D
private final CheckBox showVerboseCheckBox = new CheckBox("Show Detailed Results", false);
private boolean isLayoutComplete = false;
- private boolean lockOptions = false;
+ private boolean lockWhilePresenterUpdatesOptions = false;
@Override
public void attach() {
@@ -44,11 +44,11 @@ public class OseeDisplayOptionsComponentImpl extends VerticalLayout implements D
showVerboseCheckBox.addListener(new Property.ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
- if (!lockOptions) {
- lockOptions = true;
+ if (!lockWhilePresenterUpdatesOptions) {
+ lockWhilePresenterUpdatesOptions = true;
boolean showVerbose = showVerboseCheckBox.toString().equalsIgnoreCase("true");
onBoxChecked(showVerbose);
- lockOptions = false;
+ lockWhilePresenterUpdatesOptions = false;
}
}
});
@@ -64,10 +64,10 @@ public class OseeDisplayOptionsComponentImpl extends VerticalLayout implements D
@Override
public void setDisplayOptions(DisplayOptions options) {
if (options != null) {
- lockOptions = true;
+ lockWhilePresenterUpdatesOptions = true;
boolean verboseResults = options.getVerboseResults();
showVerboseCheckBox.setValue(verboseResults);
- lockOptions = false;
+ lockWhilePresenterUpdatesOptions = false;
}
}