public void selectRingAction(int ringSize, boolean isBenzene) {
   this.currentAction = isBenzene ? EditActions.drawBenzene : EditActions.drawRing;
   this.currentRingSize = ringSize;
   topToolBox.setSelectedAction(
       isBenzene ? EditActions.drawBenzene : EditActions.drawRing, ringSize);
 }
 public void selectEditAction(EditActions action) {
   this.currentAction = action;
   topToolBox.setSelectedAction(action);
 }