From e87a17b003cba3bd8cb11e60f1d2f57e1a653654 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 20 Feb 2012 15:38:25 +0200 Subject: [PATCH] Comment out shared state attributes that are not used yet. --- src/com/vaadin/ui/AbstractComponent.java | 42 ++++++++++++------------ 1 file 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); -- 2.39.5