Color findFeatureColour(Color col, SequenceI sequenceI, int r);
+ void featuresAdded();
+
}
* @author $author$
* @version $Revision$
*/
-public class FeatureRenderer
+public class FeatureRenderer implements jalview.api.FeatureRenderer
{
AlignViewport av;
}
Hashtable minmax = null;
-
+ /**
+ * Called when alignment in associated view has new/modified features to
+ * discover and display.
+ *
+ */
+ public void featuresAdded()
+ {
+ lastSeq = null;
+ findAllFeatures();
+ }
+ /**
+ * find all features on the alignment
+ */
void findAllFeatures()
{
jalview.schemes.UserColourScheme ucs = new jalview.schemes.UserColourScheme();
import jalview.datamodel.*;
import jalview.schemes.*;
-public class SequenceRenderer
+public class SequenceRenderer implements jalview.api.SequenceRenderer
{
AlignViewport av;
* @author $author$
* @version $Revision$
*/
-public class FeatureRenderer
+public class FeatureRenderer implements jalview.api.FeatureRenderer
{
AlignmentPanel ap;
* @author $author$
* @version $Revision$
*/
-public class SequenceRenderer
+public class SequenceRenderer implements jalview.api.SequenceRenderer
{
AlignViewport av;