git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git...
[jalview.git]
/
src
/
jalview
/
jbgui
/
GTreePanel.java
diff --git
a/src/jalview/jbgui/GTreePanel.java
b/src/jalview/jbgui/GTreePanel.java
index
c506fc6
..
150640f
100755
(executable)
--- a/
src/jalview/jbgui/GTreePanel.java
+++ b/
src/jalview/jbgui/GTreePanel.java
@@
-20,6
+20,7
@@
*/
package jalview.jbgui;
*/
package jalview.jbgui;
+import jalview.util.ImageMaker.TYPE;
import jalview.util.MessageManager;
import java.awt.BorderLayout;
import jalview.util.MessageManager;
import java.awt.BorderLayout;
@@
-175,7
+176,7
@@
public class GTreePanel extends JInternalFrame
{
public void actionPerformed(ActionEvent e)
{
{
public void actionPerformed(ActionEvent e)
{
- epsTree_actionPerformed(e);
+ writeTreeImage(TYPE.EPS);
}
});
pngTree.setText("PNG");
}
});
pngTree.setText("PNG");
@@
-183,7
+184,7
@@
public class GTreePanel extends JInternalFrame
{
public void actionPerformed(ActionEvent e)
{
{
public void actionPerformed(ActionEvent e)
{
- pngTree_actionPerformed(e);
+ writeTreeImage(TYPE.PNG);
}
});
saveAsMenu.setText(MessageManager.getString("action.save_as"));
}
});
saveAsMenu.setText(MessageManager.getString("action.save_as"));
@@
-255,11
+256,7
@@
public class GTreePanel extends JInternalFrame
{
}
{
}
- public void pngTree_actionPerformed(ActionEvent e)
- {
- }
-
- public void epsTree_actionPerformed(ActionEvent e)
+ public void writeTreeImage(TYPE imageType)
{
}
{
}