I am writting a multithreads program with java, so in my emf model that some class need implements the Runnable class, so i wondered how to do this with emf? such as:
public interface MyClass extends Runnable {
rather than:
public interface MyClass extends EObject {
?
As a side note EMF Core itself is not thread safe, two options are existing : EMF-CDO which allow concurrent modifications with transactions EMF-Transaction which allow you to control the way changes are being made spliting those into TransactionalCommands, the changes are not really applied concurrently though.