Skip to content
Snippets Groups Projects
Commit 7f804328 authored by tjc's avatar tjc
Browse files

changes to ReadAndWriteEntry.writeDatabaseEntryToFile()

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10360 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 53ccbf9a
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/EntryFileDialog.java,v 1.14 2008-11-13 08:54:10 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/EntryFileDialog.java,v 1.15 2009-04-01 12:23:20 tjc Exp $
*/
package uk.ac.sanger.artemis.components;
......@@ -43,7 +43,7 @@ import javax.swing.*;
* This class is a JFileChooser that can read EMBL Entry objects.
*
* @author Kim Rutherford
* @version $Id: EntryFileDialog.java,v 1.14 2008-11-13 08:54:10 tjc Exp $
* @version $Id: EntryFileDialog.java,v 1.15 2009-04-01 12:23:20 tjc Exp $
**/
public class EntryFileDialog extends StickyFileChooser
......@@ -448,7 +448,8 @@ public class EntryFileDialog extends StickyFileChooser
if(entry.getEMBLEntry() instanceof DatabaseDocumentEntry)
ReadAndWriteEntry.writeDatabaseEntryToFile(entry, file,
flattenGeneModel.isSelected(),
ignoreObsoleteFeatures.isSelected(), false, destination_type, owner);
ignoreObsoleteFeatures.isSelected(), false,
include_diana_extensions, destination_type, owner);
else if(include_diana_extensions)
entry.save(file, destination_type, false);
else
......@@ -467,7 +468,8 @@ public class EntryFileDialog extends StickyFileChooser
if(entry.getEMBLEntry() instanceof DatabaseDocumentEntry)
ReadAndWriteEntry.writeDatabaseEntryToFile(entry, file,
flattenGeneModel.isSelected(),
ignoreObsoleteFeatures.isSelected(), true, destination_type, null);
ignoreObsoleteFeatures.isSelected(), true,
include_diana_extensions, destination_type, null);
else if(include_diana_extensions)
entry.save(file, destination_type, true);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment