/*******************************************************************************
* Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
*
public abstract void loadAnnotationFrom(AlignFrame alf, String annotation);
/**
+ * parse the given string as a jalview feature or GFF annotation file and optionally enable feature display on the current alignFrame
+ * @param features - gff or features file
+ * @param autoenabledisplay - when true, feature display will be enabled if any features can be parsed from the string.
+ */
+ public abstract void loadFeatures(String features, boolean autoenabledisplay);
+
+ /**
+ * parse the given string as a jalview feature or GFF annotation file and optionally enable feature display on the given alignFrame.
+ * @param alf
+ * @param features - gff or features file
+ * @param autoenabledisplay - when true, feature display will be enabled if any features can be parsed from the string.
+ * @return true if data parsed as features
+ */
+ public abstract boolean loadFeaturesFrom(AlignFrame alf, String features, boolean autoenabledisplay);
+
+ /**
* get the sequence features in the given format (Jalview or GFF)
* @param format
* @return