org.eclipse.xtext.ui.editor.embedded
Interface IEditedResourceProvider

All Known Implementing Classes:
TemplateResourceProvider, XbaseInformationControl.HoverEditedResourceProvider

public interface IEditedResourceProvider

The IEditedResourceProvider returns a new resource that is not necessarily backed up by an IResource. The created resource has to be contained in a fully configured resource set.

Since:
2.2
Author:
Sebastian Zarnekow - Initial contribution and API

Method Summary
 XtextResource createResource()
          Create a new resource.
 

Method Detail

createResource

XtextResource createResource()
Create a new resource. Implementors are free to decide whether the resource should be empty or whether its pre-populated with content. The resource has to be contained in a fully configured resource set.

Returns:
a new resource that is contained in a resource set.