text: (function () {
      'use strict';
  
      var pluginDirName = 'vdb-bench-explorer';
      var pluginName = 'vdb-bench.explorer';
      var templateName = 'explorer.html';
  
      var _module = angular
          .module(pluginName)
          .config(configure)
          .run(run);
  
      //
      // Can only inject providers in the 'config' phase
      // Instances of the providers, ie. service, factories and values are available during the
      // run phase. The exception is constants which being constant are available in both.
      //
      configure.$inject = ['$routeProvider', '$locationProvider', 'CONFIG', 'SYNTAX'];
      run.$inject = ['HawtioNav', 'preferencesRegistry', 'SYNTAX', 'AuthService'];
  
      function configure($routeProvider, $locationProvider, config, syntax) {
          $locationProvider.html5Mode(true);
  
          $routeProvider.
              when(syntax.FORWARD_SLASH + pluginDirName, {
                  templateUrl: config.pluginDir + syntax.FORWARD_SLASH +
                                      pluginDirName + syntax.FORWARD_SLASH +
                                      templateName
              });
      }
  
      function run(nav, preferencesRegistry, syntax, AuthService) {
          //
          // Check with the login service that we can display this plugin
          //
          AuthService.redirect();
  
          var builder = nav.builder();
          nav.add(builder.id(pluginName)
                     .href(
                          function () {
                              return syntax.FORWARD_SLASH + pluginDirName;
                          }
                      )
                     .title(
                          function () {
                              return 'Workspace Explorer';
                          }
                      )
                     .build());
      }
  
      //hawtioPluginLoader.addModule(pluginName);
  })();