import org.simantics.browsing.ui.model.queries.IsNodeContextRemovable;
import org.simantics.db.Resource;
import org.simantics.db.Session;
+import org.simantics.db.common.procedure.adapter.TransientCacheListener;
import org.simantics.db.common.utils.RequestUtil;
import org.simantics.db.exception.DatabaseException;
import org.simantics.db.layer0.SelectionHints;
SimanticsUI.UI_THREAD_REQUEST_START_TIMEOUT,
SimanticsUI.UI_THREAD_REQUEST_EXECUTION_TIMEOUT,
false,
- new IsNodeContextRemovable( nc ) );
+ new IsNodeContextRemovable( nc ),
+ TransientCacheListener.instance());
} catch (DatabaseException | InterruptedException e) {
}
return false;
SimanticsUI.UI_THREAD_REQUEST_START_TIMEOUT,
SimanticsUI.UI_THREAD_REQUEST_EXECUTION_TIMEOUT,
false,
- new IsNodeContextModifiable( nc ) );
+ new IsNodeContextModifiable( nc ),
+ TransientCacheListener.instance());
} catch (DatabaseException | InterruptedException e) {
}
return false;