org.eclipse.xtext.xtext.ui.wizard.project
Class DefaultProjectFactoryContributor

java.lang.Object
  extended by org.eclipse.xtext.xtext.ui.wizard.project.DefaultProjectFactoryContributor
All Implemented Interfaces:
IProjectFactoryContributor
Direct Known Subclasses:
DslProjectContributor, Ecore2XtextDslProjectContributor, TestProjectContributor

public class DefaultProjectFactoryContributor
extends java.lang.Object
implements IProjectFactoryContributor

Default implemetation of org.eclipse.xtext.ui.util.IProjectFactoryContributor

Since:
2.3
Author:
Dennis Huebner - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.util.IProjectFactoryContributor
IProjectFactoryContributor.IFileCreator
 
Constructor Summary
DefaultProjectFactoryContributor()
           
 
Method Summary
 void contributeFiles(org.eclipse.core.resources.IProject project, IProjectFactoryContributor.IFileCreator fileWriter)
           
protected  org.eclipse.core.resources.IFile writeToFile(java.lang.CharSequence chrSeq, IProjectFactoryContributor.IFileCreator fCreator, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProjectFactoryContributor

public DefaultProjectFactoryContributor()
Method Detail

contributeFiles

public void contributeFiles(org.eclipse.core.resources.IProject project,
                            IProjectFactoryContributor.IFileCreator fileWriter)
Specified by:
contributeFiles in interface IProjectFactoryContributor

writeToFile

protected org.eclipse.core.resources.IFile writeToFile(java.lang.CharSequence chrSeq,
                                                       IProjectFactoryContributor.IFileCreator fCreator,
                                                       java.lang.String fileName)