/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
package gr.grnet.pithos.web.client.commands;
import gr.grnet.pithos.web.client.Clipboard;
-import gr.grnet.pithos.web.client.GSS;
+import gr.grnet.pithos.web.client.Pithos;
import gr.grnet.pithos.web.client.foldertree.File;
import gr.grnet.pithos.web.client.foldertree.Folder;
import com.google.gwt.user.client.ui.PopupPanel;
/**
- * Command for cutting a file, folder or user to GSS Clipboard
+ * Command for cutting a file, folder or user to Pithos Clipboard
*
*/
public class CutCommand implements Command {
- private GSS app;
+ private Pithos app;
private PopupPanel containerPanel;
private Object resource;
- public CutCommand(GSS _app, PopupPanel _containerPanel, Object _resource){
+ public CutCommand(Pithos _app, PopupPanel _containerPanel, Object _resource){
app = _app;
containerPanel = _containerPanel;
resource = _resource;
}
+ @SuppressWarnings("unchecked")
@Override
public void execute() {
if (containerPanel != null)