1 package org.simantics.spreadsheet.graph;
3 import org.simantics.spreadsheet.SpreadsheetVisitor;
4 import org.simantics.spreadsheet.solver.SpreadsheetBook;
5 import org.simantics.spreadsheet.solver.SpreadsheetCell;
6 import org.simantics.spreadsheet.solver.SpreadsheetEngine;
7 import org.simantics.spreadsheet.solver.SpreadsheetLine;
8 import org.simantics.spreadsheet.solver.SpreadsheetLines;
10 public class InvalidateAll implements SpreadsheetVisitor {
12 public InvalidateAll() {
16 public void visit(SpreadsheetBook book) {
17 for(SpreadsheetEngine engine : book.sheets) engine.accept(this);
21 public void visit(SpreadsheetEngine engine) {
22 engine.lines.accept(this);
26 public void visit(SpreadsheetLines node) {
27 for(SpreadsheetLines child : node.nodes.values()) child.accept(this);
28 for(SpreadsheetLine line : node.lines.values()) line.accept(this);
32 public void visit(SpreadsheetLine line) {
33 for(SpreadsheetCell cell : line.cells) cell.accept(this);
37 public void visit(SpreadsheetCell cell) {