org.eclipse.xtext.builder
Class JavaProjectBasedBuilderParticipant

java.lang.Object
  extended by org.eclipse.xtext.builder.JavaProjectBasedBuilderParticipant
All Implemented Interfaces:
IXtextBuilderParticipant

Deprecated. use BuilderParticipant instead

@Deprecated
public class JavaProjectBasedBuilderParticipant
extends java.lang.Object
implements IXtextBuilderParticipant

Author:
Sven Efftinge - Initial contribution and API, Jan Koehnlein

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.builder.IXtextBuilderParticipant
IXtextBuilderParticipant.BuildType, IXtextBuilderParticipant.IBuildContext
 
Constructor Summary
JavaProjectBasedBuilderParticipant()
          Deprecated.  
 
Method Summary
 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaProjectBasedBuilderParticipant

public JavaProjectBasedBuilderParticipant()
Deprecated. 
Method Detail

build

public void build(IXtextBuilderParticipant.IBuildContext context,
                  org.eclipse.core.runtime.IProgressMonitor monitor)
           throws org.eclipse.core.runtime.CoreException
Deprecated. 
Description copied from interface: IXtextBuilderParticipant
Allows clients to perform additional steps in the build process such as code generation. It is not expected that any object in the resource set will be modified by a builder participant. However, resources may be dynamically loaded or unloaded.

Specified by:
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.
Throws:
org.eclipse.core.runtime.CoreException

isValidOutputFolder

protected boolean isValidOutputFolder(org.eclipse.jdt.core.IJavaProject javaProject,
                                      org.eclipse.core.resources.IFolder srcGenFolder)
Deprecated. 
Since:
2.0

getSrcGenFolder

protected org.eclipse.core.resources.IFolder getSrcGenFolder(org.eclipse.core.resources.IProject builtProject)
Deprecated. 
Since:
2.0

getConfiguredFileSystemAccess

protected IFileSystemAccess getConfiguredFileSystemAccess(org.eclipse.core.resources.IFolder srcGenFolder,
                                                          IAcceptor<java.lang.String> newFileAcceptor)
Deprecated. 

handleChangedContents

protected void handleChangedContents(IResourceDescription.Delta delta,
                                     IXtextBuilderParticipant.IBuildContext context,
                                     IFileSystemAccess fileSystemAccess)
Deprecated. 

shouldGenerate

protected boolean shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource,
                                 IXtextBuilderParticipant.IBuildContext context)
Deprecated. 

handleDeletion

protected void handleDeletion(IResourceDescription.Delta delta,
                              IXtextBuilderParticipant.IBuildContext context,
                              IFileSystemAccess fileSystemAccess)
Deprecated.