 
 goog.require 'acorn.player.DropdownView'
 goog.require 'acorn.shells.LinkShell'
+
+
+TextShell = acorn.shells.TextShell
+EmptyShell = acorn.shells.EmptyShell
+
+LinkShell = acorn.shells.LinkShell
+PDFLinkShell = acorn.shells.PDFLinkShell
+ImageLinkShell = acorn.shells.ImageLinkShell
+
 
 # View to select options.
 class acorn.player.RemixerView extends athena.lib.View


    @$el.html @template()

    @$('input#link').val @model.link?()

    @dropdownView.setElement @$ '.dropdown-view'
    @dropdownView.render()

    @toolbarView.setElement @$ '.toolbar-view'
    @toolbarView.render()

    @renderRemixSubview()

    @

  initializeDropdownView: =>

    # get only the Link-based Modules
    modules = [
      {id:LinkShell.id, name:'Link (iframe)', icon: LinkShell.icon}
      {id:ImageLinkShell.id, name:'Image Link', icon: ImageLinkShell.icon}
      {id:PDFLinkShell.id, name:'PDF Link', icon: PDFLinkShell.icon}
      # '---' divisors TODO
      {id:TextShell.id, name:'Text', icon: TextShell.icon}
      # '---' divisors TODO
      {id:EmptyShell.id, name:'Empty', icon: EmptyShell.icon}
    ]

    selected = @model.module.id
    if selected == Shell.id
      selected = LinkShell.id

    @dropdownView = new acorn.player.DropdownView
      items: modules
      selected: selected
      eventhub: @eventhub

    @dropdownView.on 'Dropdown:Selected', (dropdown, value) =>
