From 0263367aa488f5daf636b5ca7231b4049182a8e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 28 Aug 2012 14:19:58 +0200 Subject: [PATCH] =?utf8?q?Disable=20=E2=80=9Cignore=20hidden=20files?= =?utf8?q?=E2=80=9D=20checkbox=20and=20=E2=80=9Cre-scan=E2=80=9D=20button?= =?utf8?q?=20during=20scanning.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java index 9321d6e..002e0ad 100644 --- a/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -415,6 +415,9 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis wizard.setPreviousEnabled(false); wizard.setQuitEnabled(false); + ignoreHiddenFilesCheckBox.setEnabled(false); + scanAction.setEnabled(false); + delayedNotification = new DelayedNotification(scanningFilesDialog, 2000); new Thread(fileScanner).start(); new Thread(delayedNotification).start(); @@ -484,6 +487,8 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis wizard.setPreviousEnabled(true); wizard.setNextEnabled(!error); wizard.setQuitEnabled(true); + ignoreHiddenFilesCheckBox.setEnabled(true); + scanAction.setEnabled(true); } }); } -- 2.7.4