private AnnotationColumnChooser annotationColumnSelectionState;
- boolean validCharWidth;
-
- public boolean followSelection = true;
-
- private Hashtable<String, AutoCalcSetting> calcIdParams = new Hashtable<>();
-
/**
* Creates a new AlignViewport object.
*
setFont(new Font(fontName, style, Integer.parseInt(fontSize)), true);
- AlignmentI al = getAlignment();
-
- if (Cache.getDefault("NORMALISE_GAPS", true))
- {
- al.setGapCharacter(Cache.getDefault("GAP_SYMBOL", "-").charAt(0));
- }
+ alignment.setGapCharacter(Cache.getDefault("GAP_SYMBOL", "-").charAt(0));
// We must set conservation and consensus before setting colour,
// as Blosum and Clustal require this to be done
- if (consensusProfiles == null && !isDataset)
+ if (hconsensus == null && !isDataset)
{
- if (!al.isNucleotide())
+ if (!alignment.isNucleotide())
{
showConservation = Cache.getDefault("SHOW_CONSERVATION", true);
showQuality = Cache.getDefault("SHOW_QUALITY", true);
initAutoAnnotation();
// initInformation();
- String colourProperty = al.isNucleotide()
+ String colourProperty = alignment.isNucleotide()
? Preferences.DEFAULT_COLOUR_NUC
: Preferences.DEFAULT_COLOUR_PROT;
String schemeName = Cache.getProperty(colourProperty);
if (residueShading != null)
{
- residueShading.setConsensus(consensusProfiles);
+ residueShading.setConsensus(hconsensus);
}
setColourAppliesToAllGroups(true);
}
+
+ boolean validCharWidth;
/**
* {@inheritDoc}
/*
* replace mappings on our alignment
*/
- if (getAlignment() != null && align != null)
+ if (alignment != null && align != null)
{
- getAlignment().setCodonFrames(align.getCodonFrames());
+ alignment.setCodonFrames(align.getCodonFrames());
}
}
}
else
{
- end = getAlignment().getWidth();
+ end = alignment.getWidth();
}
- return getAlignment().getHiddenColumns().getVisContigsIterator(start,
- end, false);
+ return (alignment.getHiddenColumns().getVisContigsIterator(start,
+ end, false));
}
/**
return false;
}
+ public boolean followSelection = true;
+
/**
* @return true if view selection should always follow the selections
* broadcast by other selection sources
return StructureSelectionManager
.getStructureSelectionManager(Desktop.instance);
}
+
+ @Override
+ public boolean isNormaliseSequenceLogo()
+ {
+ return normaliseSequenceLogo;
+ }
+
+ @Override
+public void setNormaliseSequenceLogo(boolean state)
+ {
+ normaliseSequenceLogo = state;
+ }
+
/**
*
{
return validCharWidth;
}
+
+ private Hashtable<String, AutoCalcSetting> calcIdParams = new Hashtable<>();
public AutoCalcSetting getCalcIdSettingsFor(String calcId)
{