public void updateAnnotation(boolean applyGlobalSettings)
{
+ // TODO: this should be merged with other annotation update stuff - that sits on AlignViewport
boolean updateCalcs = false;
boolean conv = av.isShowGroupConservation();
boolean cons = av.isShowGroupConsensus();
void colourGroups()
{
+ AlignmentPanel[] aps = getAssociatedPanels();
for (int i = 0; i < tree.getGroups().size(); i++)
{
Color col = new Color((int) (Math.random() * 255), (int) (Math
sg.setName("JTreeGroup:" + sg.hashCode());
sg.setIdColour(col);
- AlignmentPanel[] aps = getAssociatedPanels();
for (int a = 0; a < aps.length; a++)
{
if (aps[a].av.getGlobalColourScheme() != null
aps[a].av.alignment.addGroup(sg);
}
}
+ // notify the panel to redo any group specific stuff.
+ for (int a=0;a<aps.length;a++)
+ {
+ aps[a].updateAnnotation();
+ }
}