X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGAlignFrame.java;h=c0cdfeec613b821ce51035852842a99084e1e256;hb=0c876c3cb4c877ef6cc68e3a182bbae3b96e016c;hp=8ae97b0d95654361853505e3ed1d6a3b1903122c;hpb=ab47147703320f49c8cc28ef49add143b594ba7b;p=jalview.git diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 8ae97b0..c0cdfee 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -57,6 +57,7 @@ import jalview.bin.Cache; import jalview.gui.JvSwingUtils; import jalview.gui.Preferences; import jalview.io.FileFormats; +import jalview.io.exceptions.ImageOutputException; import jalview.schemes.ResidueColourScheme; import jalview.util.MessageManager; import jalview.util.Platform; @@ -263,6 +264,7 @@ public class GAlignFrame extends JInternalFrame private void jbInit() throws Exception { + setFrameIcon(null); initColourMenu(); JMenuItem saveAs = new JMenuItem( @@ -1080,7 +1082,7 @@ public class GAlignFrame extends JInternalFrame @Override public void actionPerformed(ActionEvent e) { - createPNG(null); + createPNG_actionPerformed(e); } }); createPNG.setActionCommand( @@ -1112,7 +1114,7 @@ public class GAlignFrame extends JInternalFrame @Override public void actionPerformed(ActionEvent e) { - createEPS(null); + createEPS_actionPerformed(e); } }); @@ -1122,7 +1124,7 @@ public class GAlignFrame extends JInternalFrame @Override public void actionPerformed(ActionEvent e) { - createSVG(null); + createSVG_actionPerformed(e); } }); @@ -1974,6 +1976,24 @@ public class GAlignFrame extends JInternalFrame // selectMenu.add(listenToViewSelections); } + protected void createPNG_actionPerformed(ActionEvent object) + { + // TODO Auto-generated method stub + + } + + protected void createEPS_actionPerformed(ActionEvent object) + { + // TODO Auto-generated method stub + + } + + protected void createSVG_actionPerformed(ActionEvent object) + { + // TODO Auto-generated method stub + + } + protected void copyHighlightedColumns_actionPerformed( ActionEvent actionEvent) { @@ -2157,7 +2177,7 @@ public class GAlignFrame extends JInternalFrame * @param forAlignment * update non-sequence-related annotations */ - protected void setAnnotationsVisibility(boolean visible, + public void setAnnotationsVisibility(boolean visible, boolean forSequences, boolean forAlignment) { @@ -2467,9 +2487,6 @@ public class GAlignFrame extends JInternalFrame { } - public void createPNG(java.io.File f) - { - } protected void font_actionPerformed(ActionEvent e) { @@ -2484,14 +2501,6 @@ public class GAlignFrame extends JInternalFrame } - public void createEPS(java.io.File f) - { - } - - public void createSVG(java.io.File f) - { - - } protected void loadTreeMenuItem_actionPerformed(ActionEvent e) {