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;
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);
}
/**
- * Tries to load each look & feel and adds it to the list of installed look &
- * feels.
+ * Tries to load each look & feel and adds it to the list of installed look
+ * & feels.
*
* @see UIManager#setInstalledLookAndFeels(LookAndFeelInfo[])
* @param lookAndFeelInfos