def create_contents(self, parent):
        self.ui = self.edit_traits(kind='subpanel', parent=parent)
        return self.ui.control
Create and return the toolkit-specific contents of the dock pane.
dataset/ETHPy150Open enthought/pyface/pyface/tasks/traits_dock_pane.py/TraitsDockPane.create_contents