BuilderParticipant
instead@Deprecated public class JavaProjectBasedBuilderParticipant extends java.lang.Object implements IXtextBuilderParticipant
IXtextBuilderParticipant.BuildType, IXtextBuilderParticipant.IBuildContext
Constructor and Description |
---|
JavaProjectBasedBuilderParticipant()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
build(IXtextBuilderParticipant.IBuildContext context,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
Allows clients to perform additional steps in the build process such as code generation.
|
protected IFileSystemAccess |
getConfiguredFileSystemAccess(org.eclipse.core.resources.IFolder srcGenFolder,
IAcceptor<java.lang.String> newFileAcceptor)
Deprecated.
|
protected org.eclipse.core.resources.IFolder |
getSrcGenFolder(org.eclipse.core.resources.IProject builtProject)
Deprecated.
|
protected void |
handleChangedContents(IResourceDescription.Delta delta,
IXtextBuilderParticipant.IBuildContext context,
IFileSystemAccess fileSystemAccess)
Deprecated.
|
protected void |
handleDeletion(IResourceDescription.Delta delta,
IXtextBuilderParticipant.IBuildContext context,
IFileSystemAccess fileSystemAccess)
Deprecated.
|
protected boolean |
isValidOutputFolder(org.eclipse.jdt.core.IJavaProject javaProject,
org.eclipse.core.resources.IFolder srcGenFolder)
Deprecated.
|
protected boolean |
shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource,
IXtextBuilderParticipant.IBuildContext context)
Deprecated.
|
public JavaProjectBasedBuilderParticipant()
public void build(IXtextBuilderParticipant.IBuildContext context, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IXtextBuilderParticipant
build
in interface IXtextBuilderParticipant
monitor
- the progress monitor to use for reporting progress to the user. It is the caller's responsibility
to call done() on the given monitor. Accepts null, indicating that no progress should be
reported and that the operation cannot be cancelled.org.eclipse.core.runtime.CoreException
protected boolean isValidOutputFolder(org.eclipse.jdt.core.IJavaProject javaProject, org.eclipse.core.resources.IFolder srcGenFolder)
protected org.eclipse.core.resources.IFolder getSrcGenFolder(org.eclipse.core.resources.IProject builtProject)
protected IFileSystemAccess getConfiguredFileSystemAccess(org.eclipse.core.resources.IFolder srcGenFolder, IAcceptor<java.lang.String> newFileAcceptor)
protected void handleChangedContents(IResourceDescription.Delta delta, IXtextBuilderParticipant.IBuildContext context, IFileSystemAccess fileSystemAccess)
protected boolean shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource, IXtextBuilderParticipant.IBuildContext context)
protected void handleDeletion(IResourceDescription.Delta delta, IXtextBuilderParticipant.IBuildContext context, IFileSystemAccess fileSystemAccess)