code: public static void mixin(Window window) {
  		final Docker docker = new Docker(window);
  		window.addMinimizeClickHandler(docker);
  		window.addRestoreClickHandler(docker);
  	}
docs: Add the functionality to an existing window.
  
  @param window
  the window to which you want to add docking functionality.