- public void onContextEmptyEvent(ContextMenuEvent event) {
- FileContextMenu menu;
- if (GSS.get().getFolders().isTrashItem(GSS.get().getFolders().getCurrent()))
- menu = new FileContextMenu(images, true, true);
- else if(((DnDTreeItem)GSS.get().getFolders().getCurrent()).getFolderResource() != null)
- menu = new FileContextMenu(images, false, true);
- else return;
- int left = event.getNativeEvent().getClientX();
- int top = event.getNativeEvent().getClientY();
- menu.setPopupPosition(left, top);
- menu.show();
- }
-
- public void onEmptyEvent(Event event) {
- FileContextMenu menu;