org.eclipse.viatra.query.patternlanguage.emf.ui.builder

## Class PatternLanguageShouldGenerate

- java.lang.Object
- - org.eclipse.viatra.query.patternlanguage.emf.ui.builder.PatternLanguageShouldGenerate

- All Implemented Interfaces:
    org.eclipse.xtext.generator.IShouldGenerate

      public class PatternLanguageShouldGenerate
      extends java.lang.Object
      implements org.eclipse.xtext.generator.IShouldGenerate

  Based on the implementation from `EclipseBasedShouldGenerate` but extended with source folder checking.
  Since:
    1.6

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.xtext.generator.IShouldGenerate

      `org.eclipse.xtext.generator.IShouldGenerate.Always, org.eclipse.xtext.generator.IShouldGenerate.OnlyWithoutErrors`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PatternLanguageShouldGenerate()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PatternLanguageShouldGenerate

          public PatternLanguageShouldGenerate()

  - ### Method Detail

    - #### shouldGenerate

          public boolean shouldGenerate(org.eclipse.emf.ecore.resource.Resource resource,
                                        org.eclipse.xtext.util.CancelIndicator cancelIndicator)

      Specified by:
        `shouldGenerate` in interface `org.eclipse.xtext.generator.IShouldGenerate`