 {View} = require 'atom-space-pen-views'
+{CompositeDisposable} = require 'atom'
 
 module.exports =
 class DecorationExampleView extends View

    @gutterColorCycle.on 'click', => @cycleDecorationColor('line-number')
    @highlightColorCycle.on 'click', => @cycleDecorationColor('highlight')

    atom.workspaceView.on 'pane-container:active-pane-item-changed', => @updateToggleButtonStates()

  ## Decoration API methods



  initialize: (serializeState) ->
    @decorationsByEditorId = {}
    disposables = new CompositeDisposable
    
    @toggleButtons =
      'line': @lineToggle
      'line-number': @gutterToggle
