]> gerrit.simantics Code Review - simantics/platform.git/blob
4d943fb342b8d22615873ed48ef890372945b5e8
[simantics/platform.git] /
1 package org.simantics.spreadsheet.graph.synchronization;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.spreadsheet.graph.SpreadsheetBook;
5 import org.simantics.spreadsheet.graph.SpreadsheetReferenceResolver;
6 import org.simantics.structural.synchronization.utils.SynchronizationEventHandlerBase;
7 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
9
10 public class SpreadsheetSynchronizationEventHandler extends SynchronizationEventHandlerBase<SheetLineComponent> {
11
12         public SpreadsheetSynchronizationEventHandler(ReadGraph graph, SpreadsheetBook book) {
13                 super(book, new SpreadsheetReferenceResolver(book), book, book, book, book.getMapping());
14         }
15
16     @Override
17     public Logger getLogger() {
18         return LoggerFactory.getLogger(getClass());
19     }
20
21 }