summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-01-26 21:50:24 (GMT)
committer LISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-01-26 21:50:24 (GMT)
commit5add8cc257192c804a92d19b0c947acec0766f19 (patch)
tree6facaab491edffa714e030d9c884ccf5c5160992 /idrop-lite
parent7a8447d1a3f9db0e6e57391360908395aff19fea (diff)
downloadQCG-Data-5add8cc257192c804a92d19b0c947acec0766f19.zip
QCG-Data-5add8cc257192c804a92d19b0c947acec0766f19.tar.gz
QCG-Data-5add8cc257192c804a92d19b0c947acec0766f19.tar.bz2
[#484] updated Change import location dialog - iRODS Finder to start at root in iRODS tree
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java27
1 files changed, 14 insertions, 13 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
index 8f3a208..2775209 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
@@ -64,19 +64,20 @@ public class IRODSFinderDialog extends javax.swing.JDialog {
CollectionAndDataObjectListingEntry root = new CollectionAndDataObjectListingEntry();
- //if (idropCore.getIdropConfig().isLoginPreset()) {
- log.info("using policy preset home directory");
- StringBuilder sb = new StringBuilder();
- sb.append("/");
- sb.append(idropCore.getIrodsAccount().getZone());
- sb.append("/");
- sb.append("home");
- root.setParentPath(sb.toString());
- root.setPathOrName(idropCore.getIrodsAccount().getHomeDirectory());
- //} else {
- //log.info("using root path, no login preset");
- //root.setPathOrName("/");
- //}
+// Change to start at root for finder dialog - requested in GForge tracker # 484
+// if (idropCore.getIdropConfig().isLoginPreset()) {
+// log.info("using policy preset home directory");
+// StringBuilder sb = new StringBuilder();
+// sb.append("/");
+// sb.append(idropCore.getIrodsAccount().getZone());
+// sb.append("/");
+// sb.append("home");
+// root.setParentPath(sb.toString());
+// root.setPathOrName(idropCore.getIrodsAccount().getHomeDirectory());
+// } else {
+// log.info("using root path, no login preset");
+ root.setPathOrName("/");
+// }
log.info("building new iRODS tree");
try {