Author: thully
Date: 2013-01-11 09:51:08 -0800 (Fri, 11 Jan 2013)
New Revision: 31037

Modified:
   
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallAppsPanel.java
Log:
Fix for #1642 - disable multiple selection for now. We may want to come back to 
it later, though that would require new methods to be implemented.

Modified: 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallAppsPanel.java
===================================================================
--- 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallAppsPanel.java
 2013-01-10 20:47:07 UTC (rev 31036)
+++ 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallAppsPanel.java
 2013-01-11 17:51:08 UTC (rev 31037)
@@ -256,6 +256,7 @@
         tagsTree.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
         tagsTree.setFocusable(false);
         tagsTree.setRootVisible(false);
+        
tagsTree.getSelectionModel().setSelectionMode(javax.swing.tree.TreeSelectionModel.SINGLE_TREE_SELECTION);
         tagsScrollPane.setViewportView(tagsTree);
 
         tagsSplitPane.setLeftComponent(tagsScrollPane);
@@ -264,6 +265,7 @@
         resultsTree.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
         resultsTree.setFocusable(false);
         resultsTree.setRootVisible(false);
+        
resultsTree.getSelectionModel().setSelectionMode(javax.swing.tree.TreeSelectionModel.SINGLE_TREE_SELECTION);
         resultsScrollPane.setViewportView(resultsTree);
 
         tagsSplitPane.setRightComponent(resultsScrollPane);

-- 
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