summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-08-23 18:58:00 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-08-24 16:09:47 +0300
commitf2cb4a9d9b3d5e89e38446906e7b556946f0a82a (patch)
tree227ae56d856e0744da2abe63671dfc0d4ef11424 /shared
parente362dec1811c9872419c5ea627c9e157a7abf8a0 (diff)
downloadvaadin-framework-f2cb4a9d9b3d5e89e38446906e7b556946f0a82a.tar.gz
vaadin-framework-f2cb4a9d9b3d5e89e38446906e7b556946f0a82a.zip
Split Embedded into several components, migrate them to Vaadin 7 (#9087)
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/AbstractEmbeddedState.java27
-rw-r--r--shared/src/com/vaadin/shared/ui/embeddedbrowser/EmbeddedBrowserState.java7
-rw-r--r--shared/src/com/vaadin/shared/ui/flash/FlashState.java68
-rw-r--r--shared/src/com/vaadin/shared/ui/image/ImageServerRpc.java8
-rw-r--r--shared/src/com/vaadin/shared/ui/image/ImageState.java7
5 files changed, 117 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/AbstractEmbeddedState.java b/shared/src/com/vaadin/shared/ui/AbstractEmbeddedState.java
new file mode 100644
index 0000000000..96b785edd0
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/AbstractEmbeddedState.java
@@ -0,0 +1,27 @@
+package com.vaadin.shared.ui;
+
+import com.vaadin.shared.ComponentState;
+import com.vaadin.shared.communication.URLReference;
+
+public class AbstractEmbeddedState extends ComponentState {
+
+ protected URLReference source;
+ protected String alternateText;
+
+ public URLReference getSource() {
+ return source;
+ }
+
+ public void setSource(URLReference source) {
+ this.source = source;
+ }
+
+ public String getAlternateText() {
+ return alternateText;
+ }
+
+ public void setAlternateText(String alternateText) {
+ this.alternateText = alternateText;
+ }
+
+}
diff --git a/shared/src/com/vaadin/shared/ui/embeddedbrowser/EmbeddedBrowserState.java b/shared/src/com/vaadin/shared/ui/embeddedbrowser/EmbeddedBrowserState.java
new file mode 100644
index 0000000000..cca47176a3
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/embeddedbrowser/EmbeddedBrowserState.java
@@ -0,0 +1,7 @@
+package com.vaadin.shared.ui.embeddedbrowser;
+
+import com.vaadin.shared.ui.AbstractEmbeddedState;
+
+public class EmbeddedBrowserState extends AbstractEmbeddedState {
+
+}
diff --git a/shared/src/com/vaadin/shared/ui/flash/FlashState.java b/shared/src/com/vaadin/shared/ui/flash/FlashState.java
new file mode 100644
index 0000000000..2d33d1a711
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/flash/FlashState.java
@@ -0,0 +1,68 @@
+package com.vaadin.shared.ui.flash;
+
+import java.util.Map;
+
+import com.vaadin.shared.ui.AbstractEmbeddedState;
+
+public class FlashState extends AbstractEmbeddedState {
+
+ protected String classId;
+
+ protected String codebase;
+
+ protected String codetype;
+
+ protected String archive;
+
+ protected String standby;
+
+ protected Map<String, String> embedParams;
+
+ public String getClassId() {
+ return classId;
+ }
+
+ public void setClassId(String classId) {
+ this.classId = classId;
+ }
+
+ public String getCodebase() {
+ return codebase;
+ }
+
+ public void setCodebase(String codeBase) {
+ codebase = codebase;
+ }
+
+ public String getCodetype() {
+ return codetype;
+ }
+
+ public void setCodetype(String codetype) {
+ this.codetype = codetype;
+ }
+
+ public String getArchive() {
+ return archive;
+ }
+
+ public void setArchive(String archive) {
+ this.archive = archive;
+ }
+
+ public String getStandby() {
+ return standby;
+ }
+
+ public void setStandby(String standby) {
+ this.standby = standby;
+ }
+
+ public Map<String, String> getEmbedParams() {
+ return embedParams;
+ }
+
+ public void setEmbedParams(Map<String, String> embedParams) {
+ this.embedParams = embedParams;
+ }
+}
diff --git a/shared/src/com/vaadin/shared/ui/image/ImageServerRpc.java b/shared/src/com/vaadin/shared/ui/image/ImageServerRpc.java
new file mode 100644
index 0000000000..aa48f10e5b
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/image/ImageServerRpc.java
@@ -0,0 +1,8 @@
+package com.vaadin.shared.ui.image;
+
+import com.vaadin.shared.communication.ServerRpc;
+import com.vaadin.shared.ui.ClickRpc;
+
+public interface ImageServerRpc extends ClickRpc, ServerRpc {
+
+}
diff --git a/shared/src/com/vaadin/shared/ui/image/ImageState.java b/shared/src/com/vaadin/shared/ui/image/ImageState.java
new file mode 100644
index 0000000000..4296c76847
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/image/ImageState.java
@@ -0,0 +1,7 @@
+package com.vaadin.shared.ui.image;
+
+import com.vaadin.shared.ui.AbstractEmbeddedState;
+
+public class ImageState extends AbstractEmbeddedState {
+
+}