- 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.
Method Summary
All MethodsModifier 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) Unregister a client application from the nav bar.
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
Unregister a client application from the nav bar.- Parameters:
name- standard name for the app