1 /* 2 * Copyright (c) 2020 Helmut Neemann. 3 * Use of this source code is governed by the GPL v3 license 4 * that can be found in the LICENSE file. 5 */ 6 package de.neemann.digital.gui.components; 7 8 import de.neemann.digital.draw.elements.Circuit; 9 import de.neemann.digital.undo.Modification; 10 11 /** 12 * Interface to modify a cirtuit 13 */ 14 public interface CircuitModifier { 15 /** 16 * Needs to be called on order to modify a circuit 17 * 18 * @param modification the modification 19 */ modify(Modification<Circuit> modification)20 void modify(Modification<Circuit> modification); 21 } 22