package oida.bridge.observerservice.changehandler;

import org.eclipse.emf.common.notify.Notification;

import oida.ontology.manager.IOntologyManager;

/**
 * 
 * @author Michael Shamiyeh, Martin Glas
 * @since 2017-01-20
 *
 */
public interface IChangeHandler {
	void setOntologyManager(IOntologyManager manager);
	
	void handleAdd(Notification notification);
	void handleAddMany(Notification notification);
	void handleMove(Notification notification);
	void handleNoIndex(Notification notification);
	
	void handleRemove(Notification notification);
	void handleRemoveMany(Notification notification);
	
	void handleRemovingAdapter(Notification notification);
	
	void handleResolve(Notification notification);
	void handleSet(Notification notification);
	void handleUnset(Notification notification);
	
}

@@ -149,172 +149,42 @@
 r;%0A%0A
-/**%0A * %0A * @author Michael Shamiyeh, Martin Glas%0A * @since 2017-01-20%0A *%0A */%0Apublic interface IChangeHandler %7B%0A%09void setOntologyManager(IOntologyManager manager);%0A%09
+public interface IChangeHandler %7B%0A
 %0A%09vo
@@ -216,32 +216,33 @@
  notification);%0A
+%0A
 %09void handleAddM
@@ -265,32 +265,33 @@
  notification);%0A
+%0A
 %09void handleMove
@@ -311,32 +311,33 @@
  notification);%0A
+%0A
 %09void handleNoIn
@@ -360,33 +360,32 @@
  notification);%0A
-%09
 %0A%09void handleRem
@@ -408,32 +408,33 @@
  notification);%0A
+%0A
 %09void handleRemo
@@ -460,33 +460,32 @@
  notification);%0A
-%09
 %0A%09void handleRem
@@ -525,17 +525,16 @@
 ation);%0A
-%09
 %0A%09void h
@@ -566,32 +566,33 @@
  notification);%0A
+%0A
 %09void handleSet(
@@ -619,16 +619,17 @@
 ation);%0A
+%0A
 %09void ha
@@ -666,12 +666,75 @@
 ation);%0A
-%09
+%0A%09void setOntologyManager(IOntologyManager owlOntologyManager);%0A
 %0A%7D%0A

Set up add handler