package com.vaadin.navigator;
/*
- * Copyright 2011 Vaadin Ltd.
+ * Copyright 2011 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
}
@Override
- public void enter(String fragmentParameters) {
+ public void navigateTo(String fragmentParameters) {
// nothing to do
}
}
@Override
public void fragmentChanged(FragmentChangedEvent event) {
- navigator.navigateTo(getFragment());
+ UriFragmentManager.this.navigator.navigateTo(getFragment());
}
}
}
}
- view.enter(fragmentParameters);
+ view.navigateTo(fragmentParameters);
currentView = view;
if (display != null) {
}
removeView(viewName);
- addProvider(new StaticViewProvider(viewName, view));
+ registerProvider(new StaticViewProvider(viewName, view));
}
/**
}
removeView(viewName);
- addProvider(new ClassBasedViewProvider(viewName, viewClass));
+ registerProvider(new ClassBasedViewProvider(viewName, viewClass));
}
/**
* @param provider
* provider to register
*/
- public void addProvider(ViewProvider provider) {
+ public void registerProvider(ViewProvider provider) {
providers.add(provider);
}
* @param provider
* provider to unregister
*/
- public void removeProvider(ViewProvider provider) {
+ public void unregisterProvider(ViewProvider provider) {
providers.remove(provider);
}