diff options
author | Henri Sara <hesara@vaadin.com> | 2012-02-20 15:38:25 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-02-20 15:38:25 +0200 |
commit | e87a17b003cba3bd8cb11e60f1d2f57e1a653654 (patch) | |
tree | da5979611d514d425d73d2fcf77e824f02439c35 | |
parent | c3e30135296b46dacc5d5e6a7d30cd65b37d0d5a (diff) | |
download | vaadin-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.java | 42 |
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); |