import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.SubMonitor;
-import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.TreeColumn;
+import org.simantics.DatabaseJob;
import org.simantics.NameLabelMode;
import org.simantics.NameLabelUtil;
import org.simantics.ObjectIdentitySchedulingRule;
}
- private class CalculateSubgraphs extends Job {
+ private class CalculateSubgraphs extends DatabaseJob {
private NetworkDiagram diagram;