final Project project = virtualFile.getProject();
final DBContentType contentType = virtualFile.getContentType();
object.getStatus().set(DBObjectStatus.SAVING, true);
new BackgroundTask(project, "Checking for third party changes on " + object.getQualifiedNameWithType(), true) {
public void execute(@NotNull ProgressIndicator progressIndicator) {
try {
String content = editor.getDocument().getText();
if (isValidObjectTypeAndName(content, object, contentType)) {
Timestamp lastUpdated = object.loadChangeTimestamp(contentType);