Skip to content

Commit

Permalink
Add enabled to JSON Compilation Database Generator prop page (#847)
Browse files Browse the repository at this point in the history
Show the JSON Compilation Database Generator properties page only for
managed build projects.

fixes #847
  • Loading branch information
ghentschke committed Jun 28, 2024
1 parent 3875408 commit a4b7d3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/org.eclipse.cdt.managedbuilder.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,12 @@
class="org.eclipse.cdt.managedbuilder.internal.ui.compilationdatabase.CompilationDatabaseGeneratorBlock"
id="org.eclipse.cdt.managedbuilder.ui.properties.Page_JsonCompilationDatabaseGenerator"
name="%JSONCompilatioDatabaseGeneratorPage.name">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
<test property="org.eclipse.core.resources.projectNature"
value="org.eclipse.cdt.managedbuilder.core.managedBuildNature"/>
</adapt>
</enabledWhen>
</page>

</extension>
Expand Down

0 comments on commit a4b7d3b

Please sign in to comment.