import org.eclipse.core.runtime.IProgressMonitor;
import org.simantics.db.Session;
+import org.simantics.graph.db.ImportResult;
public interface MigrationStateKeys {
public final static String TG_EXTENSIONS = "tgExtensions";
public final static String CURRENT_RESOURCE = "currentResource";
public final static String IMPORT_ADVISOR = "importAdvisor";
+
+ /**
+ * Used for storing the {@link ImportResult} resulting from the TG import.
+ */
+ public final static String IMPORT_RESULT = "importResult";
+
/**
* All root resources of the imported material as
* Collection<Resource>.
* is asked for the first time.
*/
public final static String DATABASE_REVISION_AFTER_TG_IMPORT = "revisionAfterTgImport";
+
+ /**
+ * Allows setting behaviour for missing entities.
+ * Essentially the same thing as "org.simantics.tg.import.failOnMissingEntities" system property
+ * Note: using this will override system wide property.
+ */
+ public final static String FAIL_ON_MISSING = "failOnMissing";
}