Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public void selectEditAction(EditActions action) {
   this.currentAction = action;
   topToolBox.setSelectedAction(action);
 }