Class CommonXtextEditor.UnitOfWork

  • All Implemented Interfaces:
    org.eclipse.xtext.util.concurrent.IUnitOfWork<T,​org.eclipse.xtext.resource.XtextResource>
    Enclosing class:
    CommonXtextEditor<T extends org.eclipse.emf.ecore.EObject,​R>

    private class CommonXtextEditor.UnitOfWork
    extends java.lang.Object
    implements org.eclipse.xtext.util.concurrent.IUnitOfWork<T,​org.eclipse.xtext.resource.XtextResource>
    Implements the xText unit of work for building the model.
    Author:
    Holger Eichelberger
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.util.concurrent.IUnitOfWork

        org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private UnitOfWork()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T exec​(org.eclipse.xtext.resource.XtextResource resource)  
      • Methods inherited from class java.lang.Object

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

      • UnitOfWork

        private UnitOfWork()
    • Method Detail

      • exec

        public T exec​(org.eclipse.xtext.resource.XtextResource resource)
        Specified by:
        exec in interface org.eclipse.xtext.util.concurrent.IUnitOfWork<T extends org.eclipse.emf.ecore.EObject,​org.eclipse.xtext.resource.XtextResource>