Class XtextFakeResourceContext

java.lang.Object
org.yakindu.base.xtext.utils.jface.viewers.context.XtextFakeResourceContext

public class XtextFakeResourceContext extends Object
Context used by XtextStyledTextAdapter to handle the required underlying (fake) resources.
  • Constructor Details

    • XtextFakeResourceContext

      public XtextFakeResourceContext(com.google.inject.Injector injector)
    • XtextFakeResourceContext

      public XtextFakeResourceContext(com.google.inject.Injector injector, IProject activeProject)
  • Method Details

    • initXtextFakeResourceSet

      protected void initXtextFakeResourceSet()
    • getFakeResourceSet

      protected ResourceSet getFakeResourceSet()
    • createXtextFakeResourceSet

      protected void createXtextFakeResourceSet()
    • initXtextFakeResource

      protected void initXtextFakeResource()
    • getFakeResource

      public org.eclipse.xtext.resource.XtextResource getFakeResource()
    • getFileExtension

      protected String getFileExtension()
    • getActiveProject

      protected IProject getActiveProject()
    • updateFakeResourceContext

      public void updateFakeResourceContext(IXtextFakeContextResourcesProvider contextProvider)