Wrap alignment moved to alignFrame
authoramwaterhouse <Andrew Waterhouse>
Thu, 15 Jun 2006 12:56:08 +0000 (12:56 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 15 Jun 2006 12:56:08 +0000 (12:56 +0000)
src/jalview/gui/CutAndPasteTransfer.java
src/jalview/gui/SequenceFetcher.java
src/jalview/io/FileLoader.java

index 3da42fc..2bb456b 100755 (executable)
@@ -200,11 +200,6 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
                                      AlignFrame.NEW_WINDOW_HEIGHT);\r
             af.statusBar.setText("Successfully pasted alignment file");\r
 \r
-            if(jalview.bin.Cache.getDefault("WRAP_ALIGNMENT", false))\r
-            {\r
-              af.wrapMenuItem.setSelected(true);\r
-              af.wrapMenuItem_actionPerformed(null);\r
-            }\r
             try\r
             {\r
               af.setMaximum(jalview.bin.Cache.getDefault("SHOW_FULLSCREEN", false));\r
index f973fbb..75e69c2 100755 (executable)
@@ -383,11 +383,6 @@ public class SequenceFetcher
                                    AlignFrame.NEW_WINDOW_WIDTH,\r
                                    AlignFrame.NEW_WINDOW_HEIGHT);\r
           af.statusBar.setText("Successfully pasted alignment file");\r
-          if (jalview.bin.Cache.getDefault("WRAP_ALIGNMENT", false))\r
-          {\r
-            af.wrapMenuItem.setSelected(true);\r
-            af.wrapMenuItem_actionPerformed(null);\r
-          }\r
 \r
           try\r
           {\r
index 7db0b90..9b06fdd 100755 (executable)
@@ -167,11 +167,6 @@ public class FileLoader
             Desktop.addInternalFrame(af, file, AlignFrame.NEW_WINDOW_WIDTH,\r
                                      AlignFrame.NEW_WINDOW_HEIGHT);\r
 \r
-            if(jalview.bin.Cache.getDefault("WRAP_ALIGNMENT", false))\r
-            {\r
-              af.wrapMenuItem.setSelected(true);\r
-              af.wrapMenuItem_actionPerformed(null);\r
-            }\r
             try\r
             {\r
               af.setMaximum(jalview.bin.Cache.getDefault("SHOW_FULLSCREEN", false));\r