Added listener and event structure to ProjectMachineContexts
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / nature / ProjectContextListener.java
diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/ProjectContextListener.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/ProjectContextListener.java
new file mode 100644 (file)
index 0000000..f7366bc
--- /dev/null
@@ -0,0 +1,7 @@
+package net.mograsim.plugin.nature;
+
+@FunctionalInterface
+public interface ProjectContextListener
+{
+       void onProjectContextChange(ProjectContextEvent projectContextEvent);
+}
\ No newline at end of file