Class XtextFakeResourceContext
java.lang.Object
org.yakindu.base.xtext.utils.jface.viewers.context.XtextFakeResourceContext
Context used by
XtextStyledTextAdapter
to handle the required
underlying (fake) resources.-
Constructor Summary
ConstructorDescriptionXtextFakeResourceContext
(com.google.inject.Injector injector) XtextFakeResourceContext
(com.google.inject.Injector injector, IProject activeProject) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected IProject
org.eclipse.xtext.resource.XtextResource
protected ResourceSet
protected String
protected void
protected void
void
updateFakeResourceContext
(IXtextFakeContextResourcesProvider contextProvider)
-
Constructor Details
-
XtextFakeResourceContext
public XtextFakeResourceContext(com.google.inject.Injector injector) -
XtextFakeResourceContext
-
-
Method Details
-
initXtextFakeResourceSet
protected void initXtextFakeResourceSet() -
getFakeResourceSet
-
createXtextFakeResourceSet
protected void createXtextFakeResourceSet() -
initXtextFakeResource
protected void initXtextFakeResource() -
getFakeResource
public org.eclipse.xtext.resource.XtextResource getFakeResource() -
getFileExtension
-
getActiveProject
-
updateFakeResourceContext
-