X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fviewmodel%2FAlignmentViewport.java;h=268633f9b2655db3b9dd0660eb1b1d1d05e8a561;hb=eef6f42415b504bf81da34c93139fe49f560062a;hp=01c7bb22a7e98430d1fe1370e71c74a4b690b96a;hpb=b5889c572976c81f068d9743363695ca84e7d413;p=jalview.git diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index 01c7bb2..268633f 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -90,6 +90,8 @@ public abstract class AlignmentViewport CONSERVATION("Conservation", "SHOW_CONSERVATION"), QUALITY("Quality", "SHOW_QUALITY"), CONSENSUS("Consensus", "SHOW_IDENTITY"), + CDNA_CONSENSUS("cDNA Consensus", null), + STRUCTURE_CONSENSUS("StrucConsensus", null), OCCUPANCY("Occupancy", "SHOW_OCCUPANCY"); public final String label; @@ -1996,7 +1998,8 @@ public abstract class AlignmentViewport } if (doConsensus) { - complementConsensus = new AlignmentAnnotation("cDNA Consensus", + complementConsensus = new AlignmentAnnotation( + AutoAnnotation.CDNA_CONSENSUS.label, MessageManager .getString("label.complement_consensus_descr"), new Annotation[1], 0f, 100f, @@ -2075,7 +2078,8 @@ public abstract class AlignmentViewport { if (alignment.hasRNAStructure() && strucConsensus == null) { - strucConsensus = new AlignmentAnnotation("StrucConsensus", + strucConsensus = new AlignmentAnnotation( + AutoAnnotation.STRUCTURE_CONSENSUS.label, MessageManager.getString("label.strucconsensus_descr"), new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH); strucConsensus.hasText = true;