'Set up a :class:`CanvasScene` instance for use by the editor.
.. note:: If an existing scene is in use it must be teared down using
__teardownScene'

def __setupScene(self, scene):

    scene.set_channel_names_visible(self.__channelNamesVisible)
    scene.set_node_animation_enabled(self.__nodeAnimationEnabled)
    scene.setFont(self.font())
    scene.installEventFilter(self)
    scene.set_registry(self.__registry)
    self.__focusListener = GraphicsSceneFocusEventListener()
    self.__focusListener.itemFocusedIn.connect(self.__onItemFocusedIn)
    self.__focusListener.itemFocusedOut.connect(self.__onItemFocusedOut)
    scene.addItem(self.__focusListener)
    scene.selectionChanged.connect(self.__onSelectionChanged)
    scene.node_item_activated.connect(self.__onNodeActivate)
    scene.annotation_added.connect(self.__onAnnotationAdded)
    scene.annotation_removed.connect(self.__onAnnotationRemoved)
    self.__annotationGeomChanged = QSignalMapper(self)
