WriteActionAware: marker to skip containing write action, e.g. when local fix would show dialog or progress, so the write action would be started inside action itself

This commit is contained in:
Anna Kozlova
2016-03-10 09:08:15 +01:00
parent 9cec506ec7
commit e9a37446b8
11 changed files with 71 additions and 21 deletions
@@ -59,4 +59,9 @@ public class PyMakePublicQuickFix implements LocalQuickFix {
}
}
}
@Override
public boolean startInWriteAction() {
return false;
}
}
@@ -52,4 +52,9 @@ public class RenameParameterQuickFix implements LocalQuickFix {
public String getName() {
return PyBundle.message("QFIX.rename.parameter.to.$0", myNewName);
}
@Override
public boolean startInWriteAction() {
return false;
}
}