From: David ‘Bombe’ Roden Date: Sat, 23 May 2009 13:46:58 +0000 (+0200) Subject: Remove references to insert and request manager. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=823fd4e213314c2b925efddf633924b315f39b87;p=jSite2.git Remove references to insert and request manager. --- diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index cf31c07..93d4281 100644 --- a/src/net/pterodactylus/jsite/main/Main.java +++ b/src/net/pterodactylus/jsite/main/Main.java @@ -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);