Package net.i2p.app
Interface NavService
- All Known Implementing Classes:
NavHelper
public interface NavService
Service 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
Modifier and TypeMethodDescriptionvoidTo 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 Details
-
registerApp
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
- Parameters:
name- standard name for the app
-