Skip to content
Snippets Groups Projects
Commit 476059b9 authored by tjc's avatar tjc
Browse files

load lazy qualifiers

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7273 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 17eb93b0
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/FeatureEdit.java,v 1.57 2008-02-15 09:58:06 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/FeatureEdit.java,v 1.58 2008-04-22 08:48:56 tjc Exp $
**/
package uk.ac.sanger.artemis.components;
......@@ -71,11 +71,12 @@ import java.util.Collections;
import java.util.Comparator;
import javax.swing.*;
/**
* FeatureEdit class
*
* @author Kim Rutherford
* @version $Id: FeatureEdit.java,v 1.57 2008-02-15 09:58:06 tjc Exp $
* @version $Id: FeatureEdit.java,v 1.58 2008-04-22 08:48:56 tjc Exp $
**/
public class FeatureEdit extends JPanel
implements EntryChangeListener, FeatureChangeListener
......@@ -1628,8 +1629,14 @@ public class FeatureEdit extends JPanel
**/
private void updateQualifiers()
{
if(GeneUtils.isDatabaseEntry(entry_group))
GeneUtils.addLazyQualifiers((GFFStreamFeature)getFeature().getEmblFeature());
qualifier_text_area.setText(getQualifierString());
if(GeneUtils.isDatabaseEntry(entry_group))
{
// load synonym
if(cvForm != null)
cvForm.updateFromFeature(getFeature());
......@@ -1642,6 +1649,7 @@ public class FeatureEdit extends JPanel
if(!isTabbedView && editorPanel != null)
editorPanel.updatePanelState();
}
}
/**
* Return a string containing one qualifier per line. These are the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment