Author: mes
Date: 2012-02-07 12:45:44 -0800 (Tue, 07 Feb 2012)
New Revision: 28208

Modified:
   
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GSUtils.java
   
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GenomeSpacePlugin.java
Log:
now showing login information

Modified: 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GSUtils.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GSUtils.java
        2012-02-07 20:35:51 UTC (rev 28207)
+++ 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GSUtils.java
        2012-02-07 20:45:44 UTC (rev 28208)
@@ -44,6 +44,7 @@
                if ( session != null && session.isLoggedIn() ) {
                        try { 
                                session.logout();
+                               Cytoscape.getDesktop().setStatusBarMsg("Logged 
out of GenomeSpace");
                        } catch (Exception e) { }
                        session = null;
                }
@@ -66,6 +67,7 @@
 
                        try {
                                session.login(userName, password);
+                               Cytoscape.getDesktop().setStatusBarMsg("Logged 
in to GenomeSpace as: " + userName);
                                return true;
                        } catch (final AuthorizationException e) {
                                
JOptionPane.showMessageDialog(Cytoscape.getDesktop(),

Modified: 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GenomeSpacePlugin.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GenomeSpacePlugin.java
      2012-02-07 20:35:51 UTC (rev 28207)
+++ 
csplugins/trunk/ucsd/mes/genomespace-plugin/src/main/java/cytoscape/genomespace/GenomeSpacePlugin.java
      2012-02-07 20:45:44 UTC (rev 28208)
@@ -22,6 +22,7 @@
                sws.registerListener(new 
LoadCyTableFromURL("node.cytable",Cytoscape.getNodeAttributes()));
                sws.registerListener(new 
LoadCyTableFromURL("edge.cytable",Cytoscape.getEdgeAttributes()));
                sws.registerListener(new LoadSessionFromURL());
+               sws.start();
 
                // This action represents the actual behavior of the plugin.
                UploadFileToGenomeSpace uploadAction = new 
UploadFileToGenomeSpace();

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to