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

java.lang.Object
  extended by org.eclipse.xtext.xtext.ui.wizard.project.DefaultProjectFactoryContributor
      extended by org.eclipse.xtext.xtext.ui.wizard.project.DslProjectContributor
All Implemented Interfaces:
IProjectFactoryContributor

public class DslProjectContributor
extends DefaultProjectFactoryContributor

Contributes a workflow file and the grammar to the new DSL project

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
DslProjectContributor(XtextProjectInfo projectInfo)
           
 
Method Summary
 void contributeFiles(org.eclipse.core.resources.IProject project, IProjectFactoryContributor.IFileCreator creator)
           
 void setSourceRoot(java.lang.String sourceRoot)
           
 
Methods inherited from class org.eclipse.xtext.xtext.ui.wizard.project.DefaultProjectFactoryContributor
writeToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DslProjectContributor

public DslProjectContributor(XtextProjectInfo projectInfo)
Method Detail

setSourceRoot

public void setSourceRoot(java.lang.String sourceRoot)

contributeFiles

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