git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
16bf6a2
)
Return true or false if file saved
author
amwaterhouse
<Andrew Waterhouse>
Thu, 30 Nov 2006 14:41:37 +0000
(14:41 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 30 Nov 2006 14:41:37 +0000
(14:41 +0000)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
45cd651
..
4bd951c
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-142,7
+142,7
@@
public class Jalview2XML
}
// USE THIS METHOD TO SAVE A SINGLE ALIGNMENT WINDOW
}
// USE THIS METHOD TO SAVE A SINGLE ALIGNMENT WINDOW
- public void SaveAlignment(AlignFrame af, String jarFile,
+ public boolean SaveAlignment(AlignFrame af, String jarFile,
String fileName)
{
try
String fileName)
{
try
@@
-163,10
+163,12
@@
public class Jalview2XML
out.close();
jout.close();
out.close();
jout.close();
+ return true;
}
catch (Exception ex)
{
ex.printStackTrace();
}
catch (Exception ex)
{
ex.printStackTrace();
+ return false;
}
}
}
}