public class XtextProjectCreator extends org.eclipse.ui.actions.WorkspaceModifyOperation implements IProjectCreator
Constructor and Description |
---|
XtextProjectCreator() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.core.resources.IFile |
getResult()
Result is a file that will be opened after the the project creation was successfully completed.
|
void |
setProjectInfo(IProjectInfo projectInfo)
Sets project creator configuration object.
|
getRule, run, threadChange
protected void execute(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
execute
in class org.eclipse.ui.actions.WorkspaceModifyOperation
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public void setProjectInfo(IProjectInfo projectInfo)
IProjectCreator
IProjectInfo
, normally created by XtextNewProjectWizard
subclasses,setProjectInfo
in interface IProjectCreator
IProjectInfo
public org.eclipse.core.resources.IFile getResult()
IProjectCreator
Result is a file that will be opened after the the project creation was successfully completed.
(Dennis: This method name is misleading. Should be fileToOpenOnFinish or something. Consider to deprecate it in 2.4)getResult
in interface IProjectCreator
IFile
that should be opened after the project creation was successfully done.