Class ViewModelContextContextFunction

  • All Implemented Interfaces:
    org.eclipse.e4.core.contexts.IContextFunction

    public class ViewModelContextContextFunction
    extends org.eclipse.e4.core.contexts.ContextFunction
    A context function that casts the EMFFormsViewContext as a ViewModelContext.
    Since:
    1.22
    • Field Summary

      • Fields inherited from interface org.eclipse.e4.core.contexts.IContextFunction

        SERVICE_CONTEXT_KEY, SERVICE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object compute​(org.eclipse.e4.core.contexts.IEclipseContext context, java.lang.String contextKey)  
      • Methods inherited from class org.eclipse.e4.core.contexts.ContextFunction

        compute
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewModelContextContextFunction

        public ViewModelContextContextFunction()
    • Method Detail

      • compute

        public java.lang.Object compute​(org.eclipse.e4.core.contexts.IEclipseContext context,
                                        java.lang.String contextKey)
        Specified by:
        compute in interface org.eclipse.e4.core.contexts.IContextFunction
        Overrides:
        compute in class org.eclipse.e4.core.contexts.ContextFunction