Some navigation refactoring

This commit is contained in:
Ziver Koc 2016-04-06 14:28:47 +02:00
parent f09ab62d52
commit 7eed07da38
6 changed files with 48 additions and 33 deletions

View file

@ -56,7 +56,7 @@ public class ServiceStatusPage implements WAPage {
public ServiceStatusPage(PluginManager pluginManager){
this.services = pluginManager.toArray(WAServiceStatus.class);
WANavigation nav = WANavigation.createRootNav(ServicePage.NAVIGATION_NAME)
WANavigation nav = WAContext.getRootNav().createSubNav(ServicePage.NAVIGATION_NAME)
.createSubNav(NAVIGATION_NAME);
nav.setResource(this);
}