Interface SafeEMF


  • public interface SafeEMF
    Service interface to execute EMF methods in a single based thread.
    Author:
    Markus Rathgeb - Initial contribution
    • Method Detail

      • call

        <T> T call​(Supplier<T> func)
        Calls the given function.
        Type Parameters:
        T - the return type of the calling function
        Parameters:
        func - the function to call
        Returns:
        the return value of the called function
      • call

        void call​(Runnable func)
        Calls the given function.
        Parameters:
        func - the function to call