Revision f6445935 src/gr/grnet/pithos/web/client/FolderContextMenu.java
b/src/gr/grnet/pithos/web/client/FolderContextMenu.java | ||
---|---|---|
34 | 34 |
*/ |
35 | 35 |
package gr.grnet.pithos.web.client; |
36 | 36 |
|
37 |
import gr.grnet.pithos.web.client.FileContextMenu.Images; |
|
37 | 38 |
import gr.grnet.pithos.web.client.commands.CopyCommand; |
38 | 39 |
import gr.grnet.pithos.web.client.commands.CutCommand; |
39 | 40 |
import gr.grnet.pithos.web.client.commands.DeleteCommand; |
... | ... | |
63 | 64 |
* The image bundle for this widget's images that reuses images defined in |
64 | 65 |
* other menus. |
65 | 66 |
*/ |
66 |
public interface Images extends ClientBundle,FileMenu.Images, EditMenu.Images {
|
|
67 |
public interface Images extends ClientBundle, FileContextMenu.Images {
|
|
67 | 68 |
} |
68 | 69 |
|
69 | 70 |
private MenuItem pasteItem; |
... | ... | |
101 | 102 |
MenuItem moveToTrash = new MenuItem("<span id = 'folderContextMenu.moveToTrash'>" + AbstractImagePrototype.create(newImages.emptyTrash()).getHTML() + " Move to Trash</span>", true, new ToTrashCommand(app, this, folder)); |
102 | 103 |
contextMenu.addItem(moveToTrash); |
103 | 104 |
|
104 |
MenuItem delete = new MenuItem("<span id = 'folderContextMenu.delete'>" + AbstractImagePrototype.create(newImages.delete()).getHTML() + " Delete</span>", true, new DeleteCommand(app, this, folder, newImages));
|
|
105 |
MenuItem delete = new MenuItem("<span id = 'folderContextMenu.delete'>" + AbstractImagePrototype.create(newImages.delete()).getHTML() + " Delete</span>", true, new DeleteCommand(app, this, folder, MessagePanel.images));
|
|
105 | 106 |
contextMenu.addItem(delete); |
106 | 107 |
|
107 | 108 |
MenuItem properties = new MenuItem("<span id = 'folderContextMenu.properties'>" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Properties</span>", true, new PropertiesCommand(app, this, folder, newImages, 0)); |
Also available in: Unified diff