summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Conway <michael.c.conway@gmail.com>2012-01-27 18:54:48 (GMT)
committer Mike Conway <michael.c.conway@gmail.com>2012-01-27 18:54:48 (GMT)
commit1851d223ede4d51aa234e53340f6534b883650c1 (patch)
treef90587ac492f0f008b4fc341419c409cc47f6668
parente4bea3cb20abe39d019b5952685ca7923d7eeea4 (diff)
downloadQCG-Data-1851d223ede4d51aa234e53340f6534b883650c1.zip
QCG-Data-1851d223ede4d51aa234e53340f6534b883650c1.tar.gz
QCG-Data-1851d223ede4d51aa234e53340f6534b883650c1.tar.bz2
[#551]-overwrite handling
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java6
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java5
2 files changed, 11 insertions, 0 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
index be2c352..f40c9aa 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
@@ -2678,4 +2678,10 @@ public class iDropLiteApplet extends javax.swing.JApplet implements TransferStat
private javax.swing.JTextField txtIRODSUploadDest;
private javax.swing.JTextField txtIdropWebModeDownloadTarget;
// End of variables declaration//GEN-END:variables
+
+ //TODO: add a dialog?
+ @Override
+ public CallbackResponse transferAsksWhetherToForceOperation(String irodsAbsolutePath, boolean isCollection) {
+ return CallbackResponse.YES_FOR_ALL;
+ }
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
index 12d70bd..9f6c6ab 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
@@ -2941,6 +2941,11 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
}
}
+ @Override
+ public CallbackResponse transferAsksWhetherToForceOperation(String irodsAbsolutePath, boolean isCollection) {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
class PopupListener extends MouseAdapter {
@Override