use of com.cburch.logisim.circuit.appear.CircuitAppearance in project logisim-evolution by reds-heig.
the class RevertAppearanceAction method doIt.
@Override
public void doIt(Project proj) {
CircuitAppearance appear = circuit.getAppearance();
wasDefault = appear.isDefaultAppearance();
old = new ArrayList<CanvasObject>(appear.getObjectsFromBottom());
appear.setDefaultAppearance(true);
}
use of com.cburch.logisim.circuit.appear.CircuitAppearance in project logisim-evolution by reds-heig.
the class RevertAppearanceAction method undo.
@Override
public void undo(Project proj) {
CircuitAppearance appear = circuit.getAppearance();
appear.setObjectsForce(old);
appear.setDefaultAppearance(wasDefault);
}
Aggregations