/**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addFilesMenu($this->link("info!"), $this->translator->translate("Details"));
     return $menu;
 }
Beispiel #2
0
 /**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addFilesMenu($this->parent->parent->link("runContentPlugin!", $this->name), $this->translator->translate("Rename"));
     return $menu;
 }
 /**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addFilesMenu($this->link("copy!"), $this->translator->translate("Copy"));
     $menu->addFilesMenu($this->link("cut!"), $this->translator->translate("Cut"));
     return $menu;
 }