aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-02-20 15:38:25 +0200
committerHenri Sara <hesara@vaadin.com>2012-02-20 15:38:25 +0200
commite87a17b003cba3bd8cb11e60f1d2f57e1a653654 (patch)
treeda5979611d514d425d73d2fcf77e824f02439c35
parentc3e30135296b46dacc5d5e6a7d30cd65b37d0d5a (diff)
downloadvaadin-framework-e87a17b003cba3bd8cb11e60f1d2f57e1a653654.tar.gz
vaadin-framework-e87a17b003cba3bd8cb11e60f1d2f57e1a653654.zip
Comment out shared state attributes that are not used yet.
-rw-r--r--src/com/vaadin/ui/AbstractComponent.java42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/com/vaadin/ui/AbstractComponent.java b/src/com/vaadin/ui/AbstractComponent.java
index 122a6bd470..5b877825c6 100644
--- a/src/com/vaadin/ui/AbstractComponent.java
+++ b/src/com/vaadin/ui/AbstractComponent.java
@@ -895,27 +895,27 @@ public abstract class AbstractComponent implements Component, MethodEventSource
// TODO use the rest on the client side
- if (styles != null && styles.size() > 0) {
- state.put(ComponentState.STATE_STYLE, getStyle());
- }
- if (isReadOnly()) {
- state.put(ComponentState.STATE_READONLY, true);
- }
-
- if (isImmediate()) {
- state.put(ComponentState.STATE_IMMEDIATE, true);
- }
- if (!isEnabled()) {
- state.put(ComponentState.STATE_DISABLED, true);
- }
- if (getCaption() != null) {
- state.put(ComponentState.STATE_CAPTION, getCaption());
- }
- // TODO add icon (Resource)
-
- if (getDescription() != null && getDescription().length() > 0) {
- state.put(ComponentState.STATE_DESCRIPTION, getDescription());
- }
+ // if (styles != null && styles.size() > 0) {
+ // state.put(ComponentState.STATE_STYLE, getStyle());
+ // }
+ // if (isReadOnly()) {
+ // state.put(ComponentState.STATE_READONLY, true);
+ // }
+ //
+ // if (isImmediate()) {
+ // state.put(ComponentState.STATE_IMMEDIATE, true);
+ // }
+ // if (!isEnabled()) {
+ // state.put(ComponentState.STATE_DISABLED, true);
+ // }
+ // if (getCaption() != null) {
+ // state.put(ComponentState.STATE_CAPTION, getCaption());
+ // }
+ // // TODO add icon (Resource)
+ //
+ // if (getDescription() != null && getDescription().length() > 0) {
+ // state.put(ComponentState.STATE_DESCRIPTION, getDescription());
+ // }
sharedState.setState(state);