From: amwaterhouse Date: Mon, 5 Dec 2005 13:39:56 +0000 (+0000) Subject: Save Feature Rendering X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58f946af1280918a6f2893534e66104bc20a52c7;p=jalview.git Save Feature Rendering --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index adc2195..86d7cb6 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -1204,16 +1204,6 @@ public class AlignFrame if(alignPanel.overviewPanel!=null) alignPanel.overviewPanel.updateOverviewImage(); - Provenance prov = viewport.alignment.getProvenance(); - if(prov == null) - { - prov = new Provenance(); - viewport.alignment.setProvenance(prov); - } - - prov.addEntry("Me", - "Edited in Jalview", new java.util.Date(), "myID"); - alignPanel.repaint(); } diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index b8b623d..5325180 100755 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -145,8 +145,13 @@ public class FeatureSettings extends JPanel int fSize = allFeatures.size(); String type; + boolean originalExists = false; + if(originalData!=null) + originalExists = true; + else + originalData = new Object[fSize][3]; + Object [][] data = new Object[fSize][3]; - originalData = new Object[fSize][3]; for(int i=0; i