expose thread pool
[jSite2.git] / src / net / pterodactylus / jsite / gui / SwingInterface.java
index d77920b..c79c37d 100644 (file)
@@ -348,6 +348,15 @@ public class SwingInterface implements CoreListener, LoggingListener, PropertyCh
                return nodeList;
        }
 
+       /**
+        * Returns the thread pool used for off-thread processes.
+        * 
+        * @return The thread pool
+        */
+       Executor getThreadPool() {
+               return threadPool;
+       }
+
        //
        // ACTIONS
        //