1 package org.simantics.db.layer0.util;
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.WriteGraph;
6 import org.simantics.db.exception.DatabaseException;
7 import org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory;
8 import org.simantics.graph.db.IImportAdvisor2;
10 public interface PasteEventHandler {
12 void postProcess(WriteGraph graph, Resource root) throws DatabaseException;
13 IImportAdvisor2 createAdvisor(ReadGraph graph, ImportAdvisorFactory factory, Resource target) throws DatabaseException;