- // TODO get or calculate and get information annotation row for this group
- int aWidth = this.getWidth();
- // pointer
- // possibility
- // here.
- if (aWidth < 0)
- {
- return null;
- }
- if (information == null)
- {
- information = new AlignmentAnnotation("", "", new Annotation[1], 0f,
- 6.25f, AlignmentAnnotation.BAR_GRAPH);
- information.hasText = true;
- information.autoCalculated = false;
- information.groupRef = this;
- information.label = getName();
- information.description = "Information content, measured in bits";
- information.calcId = "HMM";
- }
- return information;
+ hmmInformation = new AlignmentAnnotation("", "", new Annotation[1], 0f,
+ 6.25f, AlignmentAnnotation.BAR_GRAPH);
+ hmmInformation.hasText = true;
+ hmmInformation.autoCalculated = false;
+ hmmInformation.groupRef = this;
+ hmmInformation.label = getName();
+ hmmInformation.description = MessageManager
+ .getString("label.information_description");
+ hmmInformation.setCalcId(InformationThread.HMM_CALC_ID);