mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user