org.eclipse.xtext.ui.codetemplates.ui.preferences
Class SyntheticResourceProvider

java.lang.Object
  extended by org.eclipse.xtext.ui.codetemplates.ui.preferences.SyntheticResourceProvider
All Implemented Interfaces:
ISyntheticResourceProvider

public class SyntheticResourceProvider
extends java.lang.Object
implements ISyntheticResourceProvider

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
static java.lang.String SYNTHETIC_SCHEME
           
 
Constructor Summary
SyntheticResourceProvider()
           
 
Method Summary
 XtextResource createResource()
          Create a new resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNTHETIC_SCHEME

public static final java.lang.String SYNTHETIC_SCHEME
See Also:
Constant Field Values
Constructor Detail

SyntheticResourceProvider

public SyntheticResourceProvider()
Method Detail

createResource

public XtextResource createResource()
Description copied from interface: ISyntheticResourceProvider
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.

Specified by:
createResource in interface ISyntheticResourceProvider
Returns:
a new resource that is contained in a new resource set.