summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java')
-rw-r--r--uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java b/uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java
index 62ce727531..6878fc1bc6 100644
--- a/uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java
+++ b/uitest/src/com/vaadin/tests/minitutorials/v7a3/Refresher.java
@@ -29,13 +29,14 @@ public class Refresher extends AbstractExtension {
}
- public Refresher() {
+ public Refresher(UI ui) {
registerRpc(new RefresherRpc() {
@Override
public void refresh() {
fireEvent(new RefreshEvent(Refresher.this));
}
});
+ extend(ui);
}
@Override
@@ -67,8 +68,4 @@ public class Refresher extends AbstractExtension {
super.removeListener(RefreshEvent.class, listener,
RefreshListener.METHOD);
}
-
- public void extend(UI target) {
- super.extend(target);
- }
-} \ No newline at end of file
+}