Backed out changeset: bd964cf2c184 since it introduced GUI performance problems,
when running plsql file cache update on AWT thread.
It was already running in a RequestProcessor thread.
1.1 --- a/PLSQL/Utilities/src/org/netbeans/modules/plsql/utilities/localization/PlsqlProjectFileCacheManager.java Tue Apr 23 15:38:47 2013 +0200
1.2 +++ b/PLSQL/Utilities/src/org/netbeans/modules/plsql/utilities/localization/PlsqlProjectFileCacheManager.java Thu Apr 25 17:11:04 2013 +0200
1.3 @@ -53,7 +53,6 @@
1.4 import java.util.Collection;
1.5 import java.util.logging.Level;
1.6 import java.util.logging.Logger;
1.7 -import javax.swing.SwingUtilities;
1.8 import org.openide.filesystems.FileChangeAdapter;
1.9 import org.openide.filesystems.FileEvent;
1.10 import org.openide.filesystems.FileObject;
1.11 @@ -88,13 +87,7 @@
1.12 if (cache == null) {
1.13 cache = new PlsqlFileCache(fileParser);
1.14 cache.addListener(this);
1.15 - SwingUtilities.invokeLater(new Runnable() {
1.16 -
1.17 - @Override
1.18 - public void run() {
1.19 - buildCache();
1.20 - }
1.21 - });
1.22 + buildCache();
1.23 }
1.24 }
1.25