public void makePhi(int residueNumber, String label, Symbol.Stroke strokeType) {
   Symbol firstO = diagram.getPeptideCarbonyl(residueNumber - 1);
   Symbol lastO = diagram.getPeptideCarbonyl(residueNumber);
   this.makeTorsion(label, firstO, lastO, residueNumber, 2, strokeType);
 }
 public void makePsi(int residueNumber, String label, Symbol.Stroke strokeType) {
   Symbol firstN = diagram.getPeptideAmide(residueNumber);
   Symbol lastN = diagram.getPeptideAmide(residueNumber + 1);
   this.makeTorsion(label, firstN, lastN, residueNumber, 3, strokeType);
 }
 public void makeBond(Symbol startSymbol, Symbol endSymbol, Symbol.Stroke strokeType) {
   diagram.makeBond(startSymbol, endSymbol, strokeType);
   diagram.unselectAllBackboneSymbols();
   this.repaint();
 }