- else\r
- contextMenu.addItem("<span>" + images.paste().getHTML() + " "+pasteLabel+"</span>", true, new PasteCommand(this));\r
- contextMenu .addItem("<span>" + images.emptyTrash().getHTML() + " Move to Trash</span>", true, new ToTrashCommand(this))\r
+ else if (GSS.get().getFolders().getCurrent().getUserObject() instanceof FolderResource)\r
+ contextMenu.addItem("<span>" + AbstractImagePrototype.create(images.paste()).getHTML() + " "+pasteLabel+"</span>", true, new PasteCommand(this));\r
+ contextMenu .addItem("<span>" + AbstractImagePrototype.create(images.emptyTrash()).getHTML() + " Move to Trash</span>", true, new ToTrashCommand(this))\r