summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/data/ContainerHelpers.java3
-rw-r--r--server/src/com/vaadin/server/EncodeResult.java4
-rw-r--r--server/src/com/vaadin/server/JsonCodec.java2
-rw-r--r--server/src/com/vaadin/server/VaadinPortlet.java4
-rw-r--r--server/src/com/vaadin/server/WrappedSession.java3
-rw-r--r--server/src/com/vaadin/ui/AbstractColorPicker.java3
-rw-r--r--server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java4
-rw-r--r--server/src/com/vaadin/util/CurrentInstance.java3
-rw-r--r--server/src/com/vaadin/util/ReflectTools.java3
-rw-r--r--shared/src/com/vaadin/shared/ApplicationConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ComponentConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/EventId.java4
-rw-r--r--shared/src/com/vaadin/shared/JavaScriptConnectorState.java3
-rw-r--r--shared/src/com/vaadin/shared/JsonConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/annotations/DelegateToWidget.java3
-rw-r--r--shared/src/com/vaadin/shared/communication/FieldRpc.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/AlignmentInfo.java6
-rw-r--r--shared/src/com/vaadin/shared/ui/ComponentStateUtil.java3
-rw-r--r--shared/src/com/vaadin/shared/ui/ShortCutConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/colorpicker/Color.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/combobox/ComboBoxConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/datefield/DateFieldConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/embedded/EmbeddedConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/link/LinkConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/menubar/MenuBarConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/table/TableConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/textfield/TextFieldConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/tree/TreeConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/treetable/TreeTableConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/UIConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/video/VideoConstants.java4
36 files changed, 99 insertions, 37 deletions
diff --git a/server/src/com/vaadin/data/ContainerHelpers.java b/server/src/com/vaadin/data/ContainerHelpers.java
index 3b6e37a546..f794656c83 100644
--- a/server/src/com/vaadin/data/ContainerHelpers.java
+++ b/server/src/com/vaadin/data/ContainerHelpers.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.data;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -27,7 +28,7 @@ import com.vaadin.data.Container.Indexed;
*
* @since 7.0
*/
-public class ContainerHelpers {
+public class ContainerHelpers implements Serializable {
/**
* Get a range of item ids from the container using
diff --git a/server/src/com/vaadin/server/EncodeResult.java b/server/src/com/vaadin/server/EncodeResult.java
index cfed4bf340..87fefef548 100644
--- a/server/src/com/vaadin/server/EncodeResult.java
+++ b/server/src/com/vaadin/server/EncodeResult.java
@@ -16,7 +16,9 @@
package com.vaadin.server;
-public class EncodeResult {
+import java.io.Serializable;
+
+public class EncodeResult implements Serializable {
private final Object encodedValue;
private final Object diff;
diff --git a/server/src/com/vaadin/server/JsonCodec.java b/server/src/com/vaadin/server/JsonCodec.java
index 4aefed515d..b9cdcf5a87 100644
--- a/server/src/com/vaadin/server/JsonCodec.java
+++ b/server/src/com/vaadin/server/JsonCodec.java
@@ -57,7 +57,7 @@ import com.vaadin.ui.ConnectorTracker;
*/
public class JsonCodec implements Serializable {
- public static interface BeanProperty {
+ public static interface BeanProperty extends Serializable {
public Object getValue(Object bean) throws Exception;
public void setValue(Object bean, Object value) throws Exception;
diff --git a/server/src/com/vaadin/server/VaadinPortlet.java b/server/src/com/vaadin/server/VaadinPortlet.java
index 7ac6312e54..e13a64682e 100644
--- a/server/src/com/vaadin/server/VaadinPortlet.java
+++ b/server/src/com/vaadin/server/VaadinPortlet.java
@@ -21,6 +21,7 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.security.GeneralSecurityException;
@@ -61,7 +62,8 @@ import com.vaadin.util.CurrentInstance;
*
* @author peholmst
*/
-public class VaadinPortlet extends GenericPortlet implements Constants {
+public class VaadinPortlet extends GenericPortlet implements Constants,
+ Serializable {
/**
* @deprecated As of 7.0. Will likely change or be removed in a future
diff --git a/server/src/com/vaadin/server/WrappedSession.java b/server/src/com/vaadin/server/WrappedSession.java
index 58682a212f..57d3ef6a8c 100644
--- a/server/src/com/vaadin/server/WrappedSession.java
+++ b/server/src/com/vaadin/server/WrappedSession.java
@@ -16,6 +16,7 @@
package com.vaadin.server;
+import java.io.Serializable;
import java.util.Set;
import javax.portlet.PortletSession;
@@ -30,7 +31,7 @@ import javax.servlet.http.HttpSession;
* @version @VERSION@
* @since 7.0.0
*/
-public interface WrappedSession {
+public interface WrappedSession extends Serializable {
/**
* Returns the maximum time interval, in seconds, that this session will be
* kept open between client accesses.
diff --git a/server/src/com/vaadin/ui/AbstractColorPicker.java b/server/src/com/vaadin/ui/AbstractColorPicker.java
index 3d1d026d5e..d7037e366d 100644
--- a/server/src/com/vaadin/ui/AbstractColorPicker.java
+++ b/server/src/com/vaadin/ui/AbstractColorPicker.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.ui;
+import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.shared.ui.colorpicker.Color;
@@ -50,7 +51,7 @@ public abstract class AbstractColorPicker extends AbstractComponent implements
/**
* Interface for converting 2d-coordinates to a Color
*/
- public interface Coordinates2Color {
+ public interface Coordinates2Color extends Serializable {
/**
* Calculate color from coordinates
diff --git a/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java b/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
index a5803513b7..c84a90bf6f 100644
--- a/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
+++ b/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.ui.components.colorpicker;
-public interface HasColorChangeListener {
+import java.io.Serializable;
+
+public interface HasColorChangeListener extends Serializable {
/**
* Adds a {@link ColorChangeListener} to the component.
diff --git a/server/src/com/vaadin/util/CurrentInstance.java b/server/src/com/vaadin/util/CurrentInstance.java
index 805a8108f7..adf6d963c3 100644
--- a/server/src/com/vaadin/util/CurrentInstance.java
+++ b/server/src/com/vaadin/util/CurrentInstance.java
@@ -16,6 +16,7 @@
package com.vaadin.util;
+import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
@@ -27,7 +28,7 @@ import java.util.Map.Entry;
* @version @VERSION@
* @since 7.0.0
*/
-public class CurrentInstance {
+public class CurrentInstance implements Serializable {
private final Object instance;
private final boolean inheritable;
diff --git a/server/src/com/vaadin/util/ReflectTools.java b/server/src/com/vaadin/util/ReflectTools.java
index 956b09b922..6fccd365fb 100644
--- a/server/src/com/vaadin/util/ReflectTools.java
+++ b/server/src/com/vaadin/util/ReflectTools.java
@@ -17,6 +17,7 @@ package com.vaadin.util;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
+import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@@ -27,7 +28,7 @@ import java.lang.reflect.Method;
*
* @since 6.2
*/
-public class ReflectTools {
+public class ReflectTools implements Serializable {
/**
* Locates the method in the given class. Returns null if the method is not
* found. Throws an ExceptionInInitializerError if there is a problem
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java
index 7486c91d3a..333833ab60 100644
--- a/shared/src/com/vaadin/shared/ApplicationConstants.java
+++ b/shared/src/com/vaadin/shared/ApplicationConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared;
-public class ApplicationConstants {
+import java.io.Serializable;
+
+public class ApplicationConstants implements Serializable {
// This indicates the whole page is generated by us (not embedded)
public static final String GENERATED_BODY_CLASSNAME = "v-generated-body";
diff --git a/shared/src/com/vaadin/shared/ComponentConstants.java b/shared/src/com/vaadin/shared/ComponentConstants.java
index 1f6ba7e7ec..b4081d02e2 100644
--- a/shared/src/com/vaadin/shared/ComponentConstants.java
+++ b/shared/src/com/vaadin/shared/ComponentConstants.java
@@ -16,6 +16,8 @@
package com.vaadin.shared;
-public class ComponentConstants {
+import java.io.Serializable;
+
+public class ComponentConstants implements Serializable {
public static final String ICON_RESOURCE = "icon";
}
diff --git a/shared/src/com/vaadin/shared/EventId.java b/shared/src/com/vaadin/shared/EventId.java
index 048a6ea10e..dd30379d41 100644
--- a/shared/src/com/vaadin/shared/EventId.java
+++ b/shared/src/com/vaadin/shared/EventId.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared;
-public interface EventId {
+import java.io.Serializable;
+
+public interface EventId extends Serializable {
public static final String BLUR = "blur";
public static final String FOCUS = "focus";
public static final String CLICK_EVENT_IDENTIFIER = "click";
diff --git a/shared/src/com/vaadin/shared/JavaScriptConnectorState.java b/shared/src/com/vaadin/shared/JavaScriptConnectorState.java
index 69798231e1..e1b9604a37 100644
--- a/shared/src/com/vaadin/shared/JavaScriptConnectorState.java
+++ b/shared/src/com/vaadin/shared/JavaScriptConnectorState.java
@@ -16,10 +16,11 @@
package com.vaadin.shared;
+import java.io.Serializable;
import java.util.Map;
import java.util.Set;
-public interface JavaScriptConnectorState {
+public interface JavaScriptConnectorState extends Serializable {
public Set<String> getCallbackNames();
public Map<String, Set<String>> getRpcInterfaces();
diff --git a/shared/src/com/vaadin/shared/JsonConstants.java b/shared/src/com/vaadin/shared/JsonConstants.java
index 0e0df02e37..8a9e37f1a5 100644
--- a/shared/src/com/vaadin/shared/JsonConstants.java
+++ b/shared/src/com/vaadin/shared/JsonConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared;
-public class JsonConstants {
+import java.io.Serializable;
+
+public class JsonConstants implements Serializable {
public static final String VTYPE_CONNECTOR = "c";
public static final String VTYPE_BOOLEAN = "b";
public static final String VTYPE_DOUBLE = "d";
diff --git a/shared/src/com/vaadin/shared/annotations/DelegateToWidget.java b/shared/src/com/vaadin/shared/annotations/DelegateToWidget.java
index 2a1d866c90..ba661e3f32 100644
--- a/shared/src/com/vaadin/shared/annotations/DelegateToWidget.java
+++ b/shared/src/com/vaadin/shared/annotations/DelegateToWidget.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.shared.annotations;
+import java.io.Serializable;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
@@ -22,7 +23,7 @@ import java.lang.annotation.Target;
public @interface DelegateToWidget {
public String value() default "";
- public static class Helper {
+ public static class Helper implements Serializable {
public static String getDelegateTarget(String propertyName,
String annotationValue) {
String name = annotationValue;
diff --git a/shared/src/com/vaadin/shared/communication/FieldRpc.java b/shared/src/com/vaadin/shared/communication/FieldRpc.java
index a1390900f8..50e8e80872 100644
--- a/shared/src/com/vaadin/shared/communication/FieldRpc.java
+++ b/shared/src/com/vaadin/shared/communication/FieldRpc.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.communication;
-public class FieldRpc {
+import java.io.Serializable;
+
+public class FieldRpc implements Serializable {
public interface FocusServerRpc extends ServerRpc {
public void focus();
}
diff --git a/shared/src/com/vaadin/shared/ui/AlignmentInfo.java b/shared/src/com/vaadin/shared/ui/AlignmentInfo.java
index ecc80b4085..060bac3070 100644
--- a/shared/src/com/vaadin/shared/ui/AlignmentInfo.java
+++ b/shared/src/com/vaadin/shared/ui/AlignmentInfo.java
@@ -16,9 +16,11 @@
package com.vaadin.shared.ui;
-public final class AlignmentInfo {
+import java.io.Serializable;
+
+public final class AlignmentInfo implements Serializable {
/** Bitmask values for client server communication */
- public static class Bits {
+ public static class Bits implements Serializable {
public static final int ALIGNMENT_LEFT = 1;
public static final int ALIGNMENT_RIGHT = 2;
public static final int ALIGNMENT_TOP = 4;
diff --git a/shared/src/com/vaadin/shared/ui/ComponentStateUtil.java b/shared/src/com/vaadin/shared/ui/ComponentStateUtil.java
index 4d726601ae..5be5721c50 100644
--- a/shared/src/com/vaadin/shared/ui/ComponentStateUtil.java
+++ b/shared/src/com/vaadin/shared/ui/ComponentStateUtil.java
@@ -15,12 +15,13 @@
*/
package com.vaadin.shared.ui;
+import java.io.Serializable;
import java.util.HashSet;
import com.vaadin.shared.AbstractComponentState;
import com.vaadin.shared.communication.SharedState;
-public final class ComponentStateUtil {
+public final class ComponentStateUtil implements Serializable {
private ComponentStateUtil() {
// Util class is not instantiable
diff --git a/shared/src/com/vaadin/shared/ui/ShortCutConstants.java b/shared/src/com/vaadin/shared/ui/ShortCutConstants.java
index b14ad72e2d..eb493d1031 100644
--- a/shared/src/com/vaadin/shared/ui/ShortCutConstants.java
+++ b/shared/src/com/vaadin/shared/ui/ShortCutConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.ui;
-public class ShortCutConstants {
+import java.io.Serializable;
+
+public class ShortCutConstants implements Serializable {
public static final String ACTION_TARGET_ATTRIBUTE = "sat";
public static final String ACTION_TARGET_ACTION_ATTRIBUTE = "sata";
public static final String ACTION_CAPTION_ATTRIBUTE = "caption";
diff --git a/shared/src/com/vaadin/shared/ui/colorpicker/Color.java b/shared/src/com/vaadin/shared/ui/colorpicker/Color.java
index 3ceeedd424..3d0db2d124 100644
--- a/shared/src/com/vaadin/shared/ui/colorpicker/Color.java
+++ b/shared/src/com/vaadin/shared/ui/colorpicker/Color.java
@@ -15,12 +15,14 @@
*/
package com.vaadin.shared.ui.colorpicker;
+import java.io.Serializable;
+
/**
* Default implementation for color.
*
* @since 7.0.0
*/
-public class Color {
+public class Color implements Serializable {
public static final Color WHITE = new Color(255, 255, 255);
public static final Color BLACK = new Color(0, 0, 0);
diff --git a/shared/src/com/vaadin/shared/ui/combobox/ComboBoxConstants.java b/shared/src/com/vaadin/shared/ui/combobox/ComboBoxConstants.java
index 12e233c198..c127d09cec 100644
--- a/shared/src/com/vaadin/shared/ui/combobox/ComboBoxConstants.java
+++ b/shared/src/com/vaadin/shared/ui/combobox/ComboBoxConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.combobox;
+import java.io.Serializable;
+
@Deprecated
-public class ComboBoxConstants {
+public class ComboBoxConstants implements Serializable {
@Deprecated
public static final String ATTR_INPUTPROMPT = "prompt";
@Deprecated
diff --git a/shared/src/com/vaadin/shared/ui/datefield/DateFieldConstants.java b/shared/src/com/vaadin/shared/ui/datefield/DateFieldConstants.java
index b05cf813e7..bdc57f2bc2 100644
--- a/shared/src/com/vaadin/shared/ui/datefield/DateFieldConstants.java
+++ b/shared/src/com/vaadin/shared/ui/datefield/DateFieldConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.datefield;
+import java.io.Serializable;
+
@Deprecated
-public class DateFieldConstants {
+public class DateFieldConstants implements Serializable {
@Deprecated
public static final String ATTR_WEEK_NUMBERS = "wn";
diff --git a/shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java b/shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java
index 0060e8ccea..f0793fb39d 100644
--- a/shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java
+++ b/shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.draganddropwrapper;
+import java.io.Serializable;
+
@Deprecated
-public class DragAndDropWrapperConstants {
+public class DragAndDropWrapperConstants implements Serializable {
@Deprecated
public static final String HTML5_DATA_FLAVORS = "html5-data-flavors";
diff --git a/shared/src/com/vaadin/shared/ui/embedded/EmbeddedConstants.java b/shared/src/com/vaadin/shared/ui/embedded/EmbeddedConstants.java
index 3bcc421b28..067466c825 100644
--- a/shared/src/com/vaadin/shared/ui/embedded/EmbeddedConstants.java
+++ b/shared/src/com/vaadin/shared/ui/embedded/EmbeddedConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.embedded;
+import java.io.Serializable;
+
@Deprecated
-public class EmbeddedConstants {
+public class EmbeddedConstants implements Serializable {
@Deprecated
public static final String ALTERNATE_TEXT = "alt";
diff --git a/shared/src/com/vaadin/shared/ui/link/LinkConstants.java b/shared/src/com/vaadin/shared/ui/link/LinkConstants.java
index e37731a75a..3f4050f176 100644
--- a/shared/src/com/vaadin/shared/ui/link/LinkConstants.java
+++ b/shared/src/com/vaadin/shared/ui/link/LinkConstants.java
@@ -16,6 +16,8 @@
package com.vaadin.shared.ui.link;
-public class LinkConstants {
+import java.io.Serializable;
+
+public class LinkConstants implements Serializable {
public static String HREF_RESOURCE = "href";
}
diff --git a/shared/src/com/vaadin/shared/ui/menubar/MenuBarConstants.java b/shared/src/com/vaadin/shared/ui/menubar/MenuBarConstants.java
index 154188782f..5e9971985d 100644
--- a/shared/src/com/vaadin/shared/ui/menubar/MenuBarConstants.java
+++ b/shared/src/com/vaadin/shared/ui/menubar/MenuBarConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.menubar;
+import java.io.Serializable;
+
@Deprecated
-public class MenuBarConstants {
+public class MenuBarConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_CHECKED = "checked";
@Deprecated
diff --git a/shared/src/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java b/shared/src/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
index e620a3ab41..ff6f6fa241 100644
--- a/shared/src/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
+++ b/shared/src/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.ui.optiongroup;
-public class OptionGroupConstants {
+import java.io.Serializable;
+
+public class OptionGroupConstants implements Serializable {
public static final String HTML_CONTENT_ALLOWED = "usehtml";
public static final String ATTRIBUTE_OPTION_DISABLED = "disabled";
diff --git a/shared/src/com/vaadin/shared/ui/table/TableConstants.java b/shared/src/com/vaadin/shared/ui/table/TableConstants.java
index 05b2e5c047..caaac7ef14 100644
--- a/shared/src/com/vaadin/shared/ui/table/TableConstants.java
+++ b/shared/src/com/vaadin/shared/ui/table/TableConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.ui.table;
-public class TableConstants {
+import java.io.Serializable;
+
+public class TableConstants implements Serializable {
public static final String ITEM_CLICK_EVENT_ID = "itemClick";
public static final String HEADER_CLICK_EVENT_ID = "handleHeaderClick";
public static final String FOOTER_CLICK_EVENT_ID = "handleFooterClick";
diff --git a/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java b/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java
index f8a5991e9e..7eb23a9887 100644
--- a/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java
+++ b/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.tabsheet;
+import java.io.Serializable;
+
@Deprecated
-public class TabsheetBaseConstants {
+public class TabsheetBaseConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_TAB_DISABLED = "disabled";
@Deprecated
diff --git a/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java b/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java
index 6bd6ec9835..74670da8b2 100644
--- a/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java
+++ b/shared/src/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.tabsheet;
+import java.io.Serializable;
+
@Deprecated
-public class TabsheetConstants {
+public class TabsheetConstants implements Serializable {
@Deprecated
public static final String TAB_STYLE_NAME = "tabstyle";
diff --git a/shared/src/com/vaadin/shared/ui/textfield/TextFieldConstants.java b/shared/src/com/vaadin/shared/ui/textfield/TextFieldConstants.java
index 78787a3283..8476e6769a 100644
--- a/shared/src/com/vaadin/shared/ui/textfield/TextFieldConstants.java
+++ b/shared/src/com/vaadin/shared/ui/textfield/TextFieldConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.ui.textfield;
-public class TextFieldConstants {
+import java.io.Serializable;
+
+public class TextFieldConstants implements Serializable {
public static final String VAR_CUR_TEXT = "curText";
public static final String ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS = "nvc";
public static final String ATTR_TEXTCHANGE_TIMEOUT = "iet";
diff --git a/shared/src/com/vaadin/shared/ui/tree/TreeConstants.java b/shared/src/com/vaadin/shared/ui/tree/TreeConstants.java
index d59014f52c..7adc69511d 100644
--- a/shared/src/com/vaadin/shared/ui/tree/TreeConstants.java
+++ b/shared/src/com/vaadin/shared/ui/tree/TreeConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.tree;
+import java.io.Serializable;
+
@Deprecated
-public class TreeConstants {
+public class TreeConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_NODE_STYLE = "style";
diff --git a/shared/src/com/vaadin/shared/ui/treetable/TreeTableConstants.java b/shared/src/com/vaadin/shared/ui/treetable/TreeTableConstants.java
index a4de050360..1a9e5f1f39 100644
--- a/shared/src/com/vaadin/shared/ui/treetable/TreeTableConstants.java
+++ b/shared/src/com/vaadin/shared/ui/treetable/TreeTableConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.treetable;
+import java.io.Serializable;
+
@Deprecated
-public class TreeTableConstants {
+public class TreeTableConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_HIERARCHY_COLUMN_INDEX = "hci";
diff --git a/shared/src/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java b/shared/src/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java
index c2ee041a7e..efde077a82 100644
--- a/shared/src/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java
+++ b/shared/src/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java
@@ -15,8 +15,10 @@
*/
package com.vaadin.shared.ui.twincolselect;
+import java.io.Serializable;
+
@Deprecated
-public class TwinColSelectConstants {
+public class TwinColSelectConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_LEFT_CAPTION = "lc";
@Deprecated
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIConstants.java b/shared/src/com/vaadin/shared/ui/ui/UIConstants.java
index 4d1e43824a..880913f801 100644
--- a/shared/src/com/vaadin/shared/ui/ui/UIConstants.java
+++ b/shared/src/com/vaadin/shared/ui/ui/UIConstants.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.shared.ui.ui;
-public class UIConstants {
+import java.io.Serializable;
+
+public class UIConstants implements Serializable {
/**
* Attribute name for the lazy resize setting .
*/
diff --git a/shared/src/com/vaadin/shared/ui/video/VideoConstants.java b/shared/src/com/vaadin/shared/ui/video/VideoConstants.java
index fb02f5600e..88ea0c88c7 100644
--- a/shared/src/com/vaadin/shared/ui/video/VideoConstants.java
+++ b/shared/src/com/vaadin/shared/ui/video/VideoConstants.java
@@ -16,6 +16,8 @@
package com.vaadin.shared.ui.video;
-public class VideoConstants {
+import java.io.Serializable;
+
+public class VideoConstants implements Serializable {
public static final String POSTER_RESOURCE = "poster";
}