implement base path changing
[jSite2.git] / src / net / pterodactylus / jsite / gui / SwingInterface.java
index e316ab1..c79c37d 100644 (file)
@@ -40,7 +40,6 @@ import java.util.logging.Level;
 import java.util.logging.LogRecord;
 import java.util.logging.Logger;
 
-import javax.swing.Action;
 import javax.swing.JOptionPane;
 import javax.swing.UIManager;
 import javax.swing.UnsupportedLookAndFeelException;
@@ -349,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
        //
@@ -943,11 +951,7 @@ public class SwingInterface implements CoreListener, LoggingListener, PropertyCh
         * {@inheritDoc}
         */
        public void propertyChange(PropertyChangeEvent propertyChangeEvent) {
-               if (propertyChangeEvent.getSource() instanceof Node) {
-                       Node changedNode = (Node) propertyChangeEvent.getSource();
-                       nodeConnectActions.get(changedNode).putValue(Action.NAME, changedNode.getName());
-                       nodeDisconnectActions.get(changedNode).putValue(Action.NAME, changedNode.getName());
-               }
+               /* do not react to anything (yet). */
        }
 
 }