make delete and clone buttons project specific
[jSite2.git] / src / net / pterodactylus / jsite / core / CoreListener.java
index d4a522e..977e2fe 100644 (file)
@@ -69,6 +69,22 @@ public interface CoreListener {
         */
        public void savingProjectsFailed(String directory, Throwable throwable);
 
+       /**
+        * Notifies a listener that the given project was added.
+        * 
+        * @param project
+        *            The project that was added.
+        */
+       public void projectAdded(Project project);
+
+       /**
+        * Notifies a listener that the given project was removed.
+        * 
+        * @param project
+        *            The project that was removed.
+        */
+       public void projectRemoved(Project project);
+
        //
        // node configuration
        //