diff: IDEA-143772 make refresh synchronous
authorAleksey Pivovarov <AMPivovarov@gmail.com>
Tue, 18 Aug 2015 13:29:58 +0000 (16:29 +0300)
committerAleksey Pivovarov <AMPivovarov@gmail.com>
Wed, 19 Aug 2015 10:57:52 +0000 (13:57 +0300)
commitda1579ba2ef11253f56330e6994984cdbc327072
treef2f004de924e164bb458e9233a3df0d5d1d7b260
parent5ab9bd4b6be5228d9092f3e6efaca8362d83a810
diff: IDEA-143772 make refresh synchronous

* we will scan these files later, so we should wait till the end of refresh to process up-to-date data.
* we should pass valid ModalityState, as DirDiff dialog can be modal and refresh operations are performed with NON_MODAL by default.
platform/diff-impl/src/com/intellij/openapi/diff/impl/dir/DirDiffTableModel.java
platform/platform-impl/src/com/intellij/ide/diff/VirtualFileDiffElement.java