summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalina Jasinska <kalina.jasinska@gmail.com>2013-08-07 10:14:44 (GMT)
committer Kalina Jasinska <kalina.jasinska@gmail.com>2013-08-07 10:14:44 (GMT)
commitfafe172f44af30df640d097fa9c89c1305bcb47c (patch)
tree7c7b42c363be5b51df51f2b5d80715f79f99105d
parentb5d001af5c002f2d523ab10497b4465ce7fc03f5 (diff)
downloadQCG-Data-fafe172f44af30df640d097fa9c89c1305bcb47c.zip
QCG-Data-fafe172f44af30df640d097fa9c89c1305bcb47c.tar.gz
QCG-Data-fafe172f44af30df640d097fa9c89c1305bcb47c.tar.bz2
unused file deleted
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/PublicLinkDialog.java59
1 files changed, 0 insertions, 59 deletions
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/PublicLinkDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/PublicLinkDialog.java
deleted file mode 100644
index a1938e5..0000000
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/PublicLinkDialog.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package org.irods.jargon.idrop.desktop.systraygui;
-
-import org.irods.jargon.idrop.desktop.systraygui.viscomponents.IRODSNode;
-import org.irods.jargon.idrop.desktop.systraygui.viscomponents.IRODSTree;
-
-import javax.swing.*;
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.net.HttpURLConnection;
-import java.net.URL;
-
-public class PublicLinkDialog extends JDialog {
-
- private final iDrop idrop;
-
- private final IRODSTree irodsTree;
-
- private final IRODSNode linkedNode;
-
- private JTextField linkField;
-
- private JButton copyToClipboardBtn;
-
- public PublicLinkDialog(final iDrop parent, final boolean modal, final IRODSTree irodsTree, final IRODSNode linkedNode){
- super(parent, modal);
- this.idrop = parent;
- this.irodsTree = irodsTree;
- this.linkedNode = linkedNode;
- initialize();
-
- }
-
- private void initialize(){
- initComponents();
- }
-
- private void initComponents(){
-
- }
-
- class GetPublicLink extends SwingWorker<String,Void>{
-
-
-
- @Override
- protected String doInBackground() throws Exception {
- URL url = new URL("http://salvia.man.poznan.pl:8080/gdrop-servlet/hello");
- HttpURLConnection con = (HttpURLConnection) url.openConnection();
- if(con.getResponseCode()==200){
- BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream()));
- return br.readLine();
-
- }else{
- throw new Exception("error occurred while obtaining link");
- }
- }
-
- }
-}