public interface NavService
| Modifier and Type | Method and Description |
|---|---|
void |
registerApp(String appName,
String displayName,
String path,
String tooltip,
String iconpath)
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.
|
void |
unregisterApp(String name) |
void registerApp(String appName, String displayName, String path, String tooltip, String iconpath)
appName - standard name for the app (plugin)displayName - translated name the app will be called in the link
warning, this is the display name aka ConsoleLinkName, not the plugin namepath - full path pointing to the application's root
(e.g. /i2ptunnel/index.jsp), non-nulltooltip - HTML escaped text or nulliconpath - path-only URL starting with /, HTML escaped, or nullvoid unregisterApp(String name)
name - standard name for the app