"sidebar." + media_servers_category.getKey(),
"device.mediaserver.configure");
ms_menu_item.addListener(new MenuItemListener() {
public void selected(MenuItem menu, Object target) {
UIFunctions uif = UIFunctionsManager.getUIFunctions();
if (uif != null) {
uif.openView(UIFunctions.VIEW_CONFIG, "upnpmediaserver.name");
}
}
});
// routers
categoryView routers_category = addDeviceCategory(
Device.DT_INTERNET_GATEWAY, "device.router.view.title",
"image.sidebar.device.router");
categories.add(routers_category);
MenuItem rt_menu_item = menu_manager.addMenuItem("sidebar."
+ routers_category.getKey(), "device.show");
rt_menu_item.addListener(show_listener);
rt_menu_item.addFillListener(show_fill_listener);
rt_menu_item = menu_manager.addMenuItem(
"sidebar." + routers_category.getKey(), "device.router.configure");
rt_menu_item.addListener(new MenuItemListener() {
public void selected(MenuItem menu, Object target) {
UIFunctions uif = UIFunctionsManager.getUIFunctions();
if (uif != null) {
uif.openView(UIFunctions.VIEW_CONFIG, "UPnP");
}
}
});
// offline downloaders