/**
  * Create button container
  *
  * @param string $key
  * @param UiComponentInterface $view
  * @return Container
  */
 protected function createContainer($key, UiComponentInterface $view)
 {
     $container = $this->context->getPageLayout()->createBlock('Magento\\Ui\\Component\\Control\\Container', 'container-' . $view->getName() . '-' . $key, ['data' => ['button_item' => $this->items[$key], 'context' => $view]]);
     return $container;
 }
 /**
  * @param LayoutInterface $layout
  * @return void
  */
 public function setLayout(LayoutInterface $layout)
 {
     if (!$this->renderContext->getPageLayout()) {
         $this->renderContext->setPageLayout($layout);
     }
 }