 EditorLinter = require './editor-linter'
 LinterRegistry = require './linter-registry'
 IndieRegistry = require './indie-registry'
+UIRegistry = require './ui-registry'
 Helpers = require './helpers'
 Commands = require './commands'
 

      @commands.lint()

    @subscriptions.add atom.workspace.observeTextEditors (editor) => @createEditorLinter(editor)

  addLinter: (linter) ->
    @linters.addLinter(linter)

    @messages = new MessageRegistry()
    @views = new LinterViews(state.scope, @editors)
    @commands = new Commands(this)
    @ui = new UIRegistry()

    @subscriptions = new CompositeDisposable(@views, @editors, @linters, @messages, @commands, @indieLinters)

