}
}
- /**
- * trigger update of information annotation
- */
@Override
- public void updateInformation(final AlignmentViewPanel ap)
+ public void initInformationWorker(final AlignmentViewPanel ap)
{
if (calculator
.getRegisteredWorkersOfClass(InformationThread.class) == null)
{
calculator.registerWorker(new InformationThread(this, ap));
}
-
}
// --------START Structure Conservation
ignoreGapsInConsensusCalculation = b;
if (ap != null)
{
- updateConsensus(ap);
if (residueShading != null)
{
residueShading.setThreshold(residueShading.getThreshold(),
public void setIgnoreBelowBackground(boolean b, AlignmentViewPanel ap)
{
- boolean was = ignoreBelowBackGroundFrequencyCalculation;
ignoreBelowBackGroundFrequencyCalculation = b;
- if (ap != null && was != b)
- {
- updateInformation(ap);
- }
}
public void setInfoLetterHeight(boolean b, AlignmentViewPanel ap)
{
- boolean was = infoLetterHeight;
infoLetterHeight = b;
- if (ap != null && was != b)
- {
- updateInformation(ap);
- }
}
private long sgrouphash = -1, colselhash = -1;
{
alignment.padGaps();
}
- if (autoCalculateConsensus)
- {
- updateConsensus(ap);
- }
- if (consensusProfiles != null && autoCalculateConsensus)
- {
- updateConservation(ap);
- }
- if (autoCalculateStrucConsensus)
- {
- updateStrucConsensus(ap);
- }
- // initInformation();
- updateInformation(ap);
+ // if (autoCalculateConsensus)
+ // {
+ // updateConsensus(ap);
+ // }
+ // if (consensusProfiles != null && autoCalculateConsensus)
+ // {
+ // updateConservation(ap);
+ // }
+ // if (autoCalculateStrucConsensus)
+ // {
+ // updateStrucConsensus(ap);
+ // }
+ //
+ // updateInformation(ap);
// Reset endRes of groups if beyond alignment width
int alWidth = alignment.getWidth();
updateAllColourSchemes();
calculator.restartWorkers();
- // alignment.adjustSequenceAnnotations();
}
/**