org.eclipse.xtext.ui.codetemplates.ui.partialEditing
Interface ISyntheticResourceProvider
- All Known Implementing Classes:
- SyntheticResourceProvider
public interface ISyntheticResourceProvider
The ISyntheticResourceProvider
creates a resource that is not backed
up by an IResource
but may be
used on its own. The created resource will be contained in a newly created
resource set
.
- Author:
- Sebastian Zarnekow - Initial contribution and API
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 new resource set.
- Returns:
- a new resource that is contained in a new resource set.