import org.simantics.db.service.VirtualGraphSupport;
import org.simantics.event.ontology.EventResource;
import org.simantics.layer0.Layer0;
-import org.simantics.utils.datastructures.Callback;
import org.simantics.utils.ui.ISelectionUtils;
graph.syncRequest( new CorrectMilestoneLabelsAction(eventlog, vg) );
}
}
- }, new Callback<DatabaseException>() {
- @Override
- public void run(DatabaseException e) {
- if (e != null) Logger.defaultLogError(e);
- }
+ }, e -> {
+ if (e != null) Logger.defaultLogError(e);
});
return null;
}