net.i2p.router.web
public class NavHelper extends Object
Constructor and Description |
---|
NavHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getClientAppLinks(I2PAppContext ctx)
Translated string is loaded by PluginStarter
|
static void |
registerApp(String name,
String path)
To register a new client application so that it shows up on the router
console's nav bar, it should be registered with this singleton.
|
static void |
registerApp(String name,
String path,
String tooltip) |
static void |
unregisterApp(String name) |
public static void registerApp(String name, String path)
name
- pretty name the app will be called in the linkpath
- full path pointing to the application's root
(e.g. /i2ptunnel/index.jsp)public static void unregisterApp(String name)
public static String getClientAppLinks(I2PAppContext ctx)