Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimeon Andreev2018-08-08 07:51:52 +0000
committerSimeon Andreev2018-08-08 10:24:41 +0000
commite0c6dbf15dc7a6f63d5511a85395138bddf2aece (patch)
treeb41ce77a1bb49087cf003b16046ba51a5eafc4ea /bundles/org.eclipse.cvs/META-INF/MANIFEST.MF
parent4d9a3fd93350e5cc3ee78e8586a4a3acf8e303c9 (diff)
downloadeclipse.platform.team-I20180812-2000.tar.gz
eclipse.platform.team-I20180812-2000.tar.xz
eclipse.platform.team-I20180812-2000.zip
A dialog is shown when validating a read-only file, which has a pending modification in an editor. The dialog states that the file is read-only and asks whether the file should be made writable. When running the validation code (DefaultUIFileModificationValidator.validateEdit()) from a non-UI thread, an extra shell is created. This shell is seen as an additional empty window. This change avoids the extra window by using the workbench display to run the necessary UI code, if validation is done from a non-UI thread. It also passes down a null parent shell to the dialog, which is handled by the jface dialog. Change-Id: Ie16286f1d51d2282593fdb4c6dc5d4d6ec914249 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Diffstat (limited to 'bundles/org.eclipse.cvs/META-INF/MANIFEST.MF')
0 files changed, 0 insertions, 0 deletions

Back to the top