aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Embedded.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Embedded.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Embedded.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Embedded.java b/server/src/main/java/com/vaadin/ui/Embedded.java
index 5933530130..786c6d3a86 100644
--- a/server/src/main/java/com/vaadin/ui/Embedded.java
+++ b/server/src/main/java/com/vaadin/ui/Embedded.java
@@ -30,6 +30,7 @@ import com.vaadin.shared.MouseEventDetails;
import com.vaadin.shared.Registration;
import com.vaadin.shared.ui.embedded.EmbeddedConstants;
import com.vaadin.shared.ui.embedded.EmbeddedServerRpc;
+import com.vaadin.shared.ui.embedded.EmbeddedState;
/**
* A component for embedding external objects.
@@ -555,4 +556,13 @@ public class Embedded extends AbstractComponent implements LegacyComponent {
// TODO Remove once LegacyComponent is no longer implemented
}
+ @Override
+ protected EmbeddedState getState() {
+ return (EmbeddedState) super.getState();
+ }
+
+ @Override
+ protected EmbeddedState getState(boolean markAsDirty) {
+ return (EmbeddedState) super.getState(markAsDirty);
+ }
}