parameters: (self, plugin)
docstring: Create a dockwidget around a plugin and add the dock to window
docstring_summary: Create a dockwidget around a plugin and add the dock to window
docstring_tokens: Create a dockwidget around a plugin and add the dock to window
function: def add_dockwidget(self, plugin):
          """Create a dockwidget around a plugin and add the dock to window"""
          dockwidget, location = plugin.create_dockwidget()
          self.addDockWidget(location, dockwidget)
function_tokens: def add_dockwidget ( self , plugin ) : dockwidget , location = plugin . create_dockwidget ( ) self . addDockWidget ( location , dockwidget )