summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Embedded.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-13 19:13:24 +0300
committerArtur Signell <artur@vaadin.com>2012-08-13 19:18:50 +0300
commitacf099b41fe1f983d416e598b5b49eaea9f35c66 (patch)
treeda664e675e639a074b6d8abde3af4d7a7b52055a /server/src/com/vaadin/ui/Embedded.java
parente85d933b25cc3c5cc85eb7eb4b13b950fd8e1569 (diff)
downloadvaadin-framework-acf099b41fe1f983d416e598b5b49eaea9f35c66.tar.gz
vaadin-framework-acf099b41fe1f983d416e598b5b49eaea9f35c66.zip
Eliminated dependencies from server to client (#9279)
Diffstat (limited to 'server/src/com/vaadin/ui/Embedded.java')
-rw-r--r--server/src/com/vaadin/ui/Embedded.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/src/com/vaadin/ui/Embedded.java b/server/src/com/vaadin/ui/Embedded.java
index 6088c5aa66..ffa47f60b8 100644
--- a/server/src/com/vaadin/ui/Embedded.java
+++ b/server/src/com/vaadin/ui/Embedded.java
@@ -10,14 +10,14 @@ import java.util.Map;
import com.vaadin.event.MouseEvents.ClickEvent;
import com.vaadin.event.MouseEvents.ClickListener;
+import com.vaadin.shared.EventId;
import com.vaadin.shared.MouseEventDetails;
+import com.vaadin.shared.ui.embedded.EmbeddedConstants;
import com.vaadin.shared.ui.embedded.EmbeddedServerRpc;
import com.vaadin.terminal.PaintException;
import com.vaadin.terminal.PaintTarget;
import com.vaadin.terminal.Resource;
import com.vaadin.terminal.Vaadin6Component;
-import com.vaadin.terminal.gwt.client.ui.ClickEventHandler;
-import com.vaadin.terminal.gwt.client.ui.embedded.EmbeddedConnector;
/**
* Component for embedding external objects.
@@ -158,7 +158,7 @@ public class Embedded extends AbstractComponent implements Vaadin6Component {
target.addAttribute("archive", archive);
}
if (altText != null && !"".equals(altText)) {
- target.addAttribute(EmbeddedConnector.ALTERNATE_TEXT, altText);
+ target.addAttribute(EmbeddedConstants.ALTERNATE_TEXT, altText);
}
// Params
@@ -507,8 +507,8 @@ public class Embedded extends AbstractComponent implements Vaadin6Component {
* The listener to add
*/
public void addListener(ClickListener listener) {
- addListener(ClickEventHandler.CLICK_EVENT_IDENTIFIER, ClickEvent.class,
- listener, ClickListener.clickMethod);
+ addListener(EventId.CLICK_EVENT_IDENTIFIER, ClickEvent.class, listener,
+ ClickListener.clickMethod);
}
/**
@@ -519,8 +519,8 @@ public class Embedded extends AbstractComponent implements Vaadin6Component {
* The listener to remove
*/
public void removeListener(ClickListener listener) {
- removeListener(ClickEventHandler.CLICK_EVENT_IDENTIFIER,
- ClickEvent.class, listener);
+ removeListener(EventId.CLICK_EVENT_IDENTIFIER, ClickEvent.class,
+ listener);
}
@Override