summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-09-11 12:05:43 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-09-11 12:09:03 +0300
commit3736f01b5918c292416559d72394aea07435e09e (patch)
tree17d77bab5e00eec43cf9e764dd76eae29e0d661a /uitest
parent3877b51ddfe651907e02b2ee9bec8d854be55225 (diff)
downloadvaadin-framework-3736f01b5918c292416559d72394aea07435e09e.tar.gz
vaadin-framework-3736f01b5918c292416559d72394aea07435e09e.zip
Rename isViewChangeAllowed()/navigatorViewChanged() to beforeViewChange()/afterViewChange() (#9511)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/navigator/NavigatorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
index bfb11f6b8c..ef9130a2b1 100644
--- a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
+++ b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
@@ -77,7 +77,7 @@ public class NavigatorTest extends UI {
class NaviListener implements ViewChangeListener {
@Override
- public boolean isViewChangeAllowed(ViewChangeEvent event) {
+ public boolean beforeViewChange(ViewChangeEvent event) {
if (event.getNewView() instanceof ForbiddenView) {
log.log("Prevent navigation to ForbiddenView");
return false;
@@ -86,7 +86,7 @@ public class NavigatorTest extends UI {
}
@Override
- public void navigatorViewChanged(ViewChangeEvent event) {
+ public void afterViewChange(ViewChangeEvent event) {
}
};