org.eclipse.xtext.ui.wizard
Class AbstractPluginProjectCreator

java.lang.Object
  extended by org.eclipse.ui.actions.WorkspaceModifyOperation
      extended by org.eclipse.xtext.ui.wizard.AbstractProjectCreator
          extended by org.eclipse.xtext.ui.wizard.AbstractPluginProjectCreator
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress, org.eclipse.jface.operation.IThreadListener, IProjectCreator

public abstract class AbstractPluginProjectCreator
extends AbstractProjectCreator

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
AbstractPluginProjectCreator()
           
 
Method Summary
protected  ProjectFactory configureProjectFactory(ProjectFactory factory)
           
protected  PluginProjectFactory createProjectFactory()
           
protected  java.lang.String getActivatorClassName()
           
protected  java.util.List<java.lang.String> getExportedPackages()
           
protected  java.util.List<java.lang.String> getImportedPackages()
           
protected  java.util.List<java.lang.String> getRequiredBundles()
           
 
Methods inherited from class org.eclipse.xtext.ui.wizard.AbstractProjectCreator
configureProjectBuilder, createProject, enhanceProject, execute, getAllFolders, getBuilders, getCreateModelProjectMessage, getEncoding, getModelFile, getModelFolderName, getPrimaryModelFileExtension, getProjectInfo, getProjectNatures, getReferencedProjects, getResult, setProjectInfo, setResult
 
Methods inherited from class org.eclipse.ui.actions.WorkspaceModifyOperation
getRule, run, threadChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.operation.IRunnableWithProgress
run
 

Constructor Detail

AbstractPluginProjectCreator

public AbstractPluginProjectCreator()
Method Detail

configureProjectFactory

protected ProjectFactory configureProjectFactory(ProjectFactory factory)
Overrides:
configureProjectFactory in class AbstractProjectCreator

createProjectFactory

protected PluginProjectFactory createProjectFactory()
Specified by:
createProjectFactory in class AbstractProjectCreator

getExportedPackages

protected java.util.List<java.lang.String> getExportedPackages()
Returns:
the names of the exported packages. May not be null

getImportedPackages

protected java.util.List<java.lang.String> getImportedPackages()
Returns:
the names of the imported packages that a new project requires. May not be null

getActivatorClassName

protected java.lang.String getActivatorClassName()
Returns:
the class-name of the bundle-activator or null

getRequiredBundles

protected java.util.List<java.lang.String> getRequiredBundles()
Returns:
the names of the bundles that a new project requires. May not be null