Package net.i2p.app
Interface NavService
-
- All Known Implementing Classes:
NavHelper
public interface NavServiceService to put links on the console. Here so webapps can use it without dependency on console.- Since:
- 0.9.56 adapted from console NavHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterApp(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.voidunregisterApp(String name)
-
-
-
Method Detail
-
registerApp
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.- Parameters:
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 null
-
unregisterApp
void unregisterApp(String name)
- Parameters:
name- standard name for the app
-
-