Remove references to insert and request manager.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 May 2009 13:46:58 +0000 (15:46 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 May 2009 13:46:58 +0000 (15:46 +0200)
src/net/pterodactylus/jsite/main/Main.java

index cf31c07..93d4281 100644 (file)
@@ -28,10 +28,8 @@ import javax.swing.UIManager;
 import javax.swing.UIManager.LookAndFeelInfo;
 
 import net.pterodactylus.jsite.core.CoreImpl;
-import net.pterodactylus.jsite.core.InsertManager;
 import net.pterodactylus.jsite.core.NodeManager;
 import net.pterodactylus.jsite.core.ProjectManager;
-import net.pterodactylus.jsite.core.RequestManager;
 import net.pterodactylus.jsite.gui.SwingInterface;
 import net.pterodactylus.util.logging.Logging;
 
@@ -70,16 +68,6 @@ public class Main {
                core.setProjectManager(projectManager);
                projectManager.setNodeManager(nodeManager);
 
-               InsertManager insertManager = new InsertManager();
-               core.setInsertManager(insertManager);
-               insertManager.addInsertListener(core);
-
-               RequestManager requestManager = new RequestManager();
-               core.setRequestManager(requestManager);
-               nodeManager.addNodeListener(requestManager);
-               requestManager.setNodeManager(nodeManager);
-               requestManager.addRequestListener(core);
-
                SwingInterface swingInterface = new SwingInterface(core, configDirectory);
                core.addCoreListener(swingInterface);
                Logging.addLoggingListener(swingInterface);