 
   # Public: Opens the plugin generation view.
   generatePlugin: ->
+    MinimapPluginGeneratorView ?= require './minimap-plugin-generator-view'
     view = new MinimapPluginGeneratorView()
 
   # Public: Calls the `callback` when the minimap package have been activated.

  #                     version.
  #
  # Returns a {Boolean}.
  versionMatch: (expectedVersion) -> semver.satisfies(@version, expectedVersion)

  # Public: Toggles the minimap activation state.
  toggle: ->


  # Internal: Used only for old events deprecation.
  on: (eventName) ->
    deprecate ?= require('grim').deprecate
    switch eventName
      when 'activated'
        deprecate("Use Minimap::onDidActivate instead.")
