Package org.eclipse.xtext.generator
Class IShouldGenerate.Always
- java.lang.Object
-
- org.eclipse.xtext.generator.IShouldGenerate.Always
-
- All Implemented Interfaces:
IShouldGenerate
- Enclosing interface:
- IShouldGenerate
@Beta public static class IShouldGenerate.Always extends java.lang.Object implements IShouldGenerate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.generator.IShouldGenerate
IShouldGenerate.Always, IShouldGenerate.OnlyWithoutErrors
-
-
Constructor Summary
Constructors Constructor Description Always()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Whether code should be generated for this resource.
-
-
-
Method Detail
-
shouldGenerate
public boolean shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Description copied from interface:IShouldGenerate
Whether code should be generated for this resource.- Specified by:
shouldGenerate
in interfaceIShouldGenerate
-
-