application specific validIOformat method
authorjprocter <Jim Procter>
Tue, 4 Nov 2008 11:27:34 +0000 (11:27 +0000)
committerjprocter <Jim Procter>
Tue, 4 Nov 2008 11:27:34 +0000 (11:27 +0000)
src/jalview/gui/AlignFrame.java

index 7adbd07..8adcb0d 100755 (executable)
@@ -699,8 +699,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   public void save_actionPerformed(ActionEvent e)
   {
     if (fileName == null
-            || (currentFileFormat == null || jalview.io.AppletFormatAdapter
-                    .isValidFormat(currentFileFormat, true))
+            || (currentFileFormat == null 
+                    || !jalview.io.FormatAdapter.isValidIOFormat(currentFileFormat, true))
             || fileName.startsWith("http"))
     {
       saveAs_actionPerformed(null);