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;
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);