@classmethod
def from_node(cls, node):
    """
        Create an :class:`NodeItem` instance and initialize it from a
        :class:`SchemeNode` instance.

        """
    self = cls()
    self.setWidgetDescription(node.description)
    return self
