net.i2p.router.web
Class NavHelper
java.lang.Object
net.i2p.router.web.NavHelper
public class NavHelper
- extends java.lang.Object
Method Summary |
static java.lang.String |
getClientAppLinks(I2PAppContext ctx)
Translated string is loaded by PluginStarter |
static void |
registerApp(java.lang.String name,
java.lang.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(java.lang.String name,
java.lang.String path,
java.lang.String tooltip)
|
static void |
unregisterApp(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavHelper
public NavHelper()
registerApp
public static void registerApp(java.lang.String name,
java.lang.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.
- Parameters:
name
- pretty name the app will be called in the linkpath
- full path pointing to the application's root
(e.g. /i2ptunnel/index.jsp)
registerApp
public static void registerApp(java.lang.String name,
java.lang.String path,
java.lang.String tooltip)
unregisterApp
public static void unregisterApp(java.lang.String name)
getClientAppLinks
public static java.lang.String getClientAppLinks(I2PAppContext ctx)
- Translated string is loaded by PluginStarter