import zeit.cms.interfaces
import zope.component


class DragPane(object):

    def __call__(self, uniqueId):
        content = zeit.cms.interfaces.ICMSContent(uniqueId)
        view = zope.component.getMultiAdapter(
            (content, self.request), name='drag-pane.html')
        return view()
