```coffeescript
class SidebarMachineBox extends KDView

  constructor: (options = {}, data) ->

    super options, data

    {machine, workspaces} = data

    machine = new KD.remote.api.JMachine machine

    @addSubView @machineItem = new NavigationMachineItem {}, machine

    listController = new KDListViewController
      itemClass    : SidebarWorkspaceItem

    for ws in data.workspaces
      listController.addItem ws

    @addSubView listController.getView()
```

Use NavigationWorkspaceItem class for sidebar workspace list controller.
user
```coffeescript
class SidebarMachineBox extends KDView

  constructor: (options = {}, data) ->

    super options, data

    {machine, workspaces} = data

    machine = new KD.remote.api.JMachine machine

    @addSubView @machineItem = new NavigationMachineItem {}, machine

    listController = new KDListViewController
      itemClass    : NavigationWorkspaceItem
      itemOptions  : { machine }

    for ws in data.workspaces
      listController.addItem ws

    @addSubView listController.getView()
```
assistant