Author: scooter
Date: 2011-11-04 13:41:46 -0700 (Fri, 04 Nov 2011)
New Revision: 27406

Modified:
   
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
   
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
Log:
Make model navigator dialog back into a dialog


Modified: 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
    2011-11-04 19:19:48 UTC (rev 27405)
+++ 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
    2011-11-04 20:41:46 UTC (rev 27406)
@@ -103,7 +103,7 @@
         * @param object the Chimera interface object
         * @param structures the List of structures open in Chimera
         */
-       public AlignStructuresDialog (Frame parent, Chimera object, List 
structures) {
+       public AlignStructuresDialog (JDialog parent, Chimera object, List 
structures) {
                super(parent, false);
                chimeraObject = object;
                this.structures = structures;

Modified: 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
     2011-11-04 19:19:48 UTC (rev 27405)
+++ 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
     2011-11-04 20:41:46 UTC (rev 27406)
@@ -77,7 +77,7 @@
  * structureViz.
  */
 public class ModelNavigatorDialog 
-                       extends JFrame 
+                       extends JDialog 
                        implements TreeSelectionListener, 
TreeExpansionListener, TreeWillExpandListener {
 
        private Chimera chimeraObject;
@@ -130,7 +130,9 @@
         */
        protected ModelNavigatorDialog (Frame parent, Chimera object) {
                // super(Cytoscape.getDesktop(), "Cytoscape Molecular Structure 
Navigator");
-               super("Cytoscape Molecular Structure Navigator");
+               // super("Cytoscape Molecular Structure Navigator");
+               super();
+               setTitle("Cytoscape Molecular Structure Navigator");
                chimeraObject = object;
                initComponents();
                status = false;

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