1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

[cdt_11_6] Add enabled to JSON Compilation Database Generator prop page (#847)

Show the JSON Compilation Database Generator properties page only for
managed build projects.

fixes #847

(cherry picked from commit 597eda2d60)

Co-authored-by: G. Hentschke <123444711+ghentschke@users.noreply.github.com>
Co-authored-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
github-actions[bot] 2024-06-28 19:54:25 -04:00 committed by GitHub
parent e94778b9e7
commit 54e9f2fc65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.ui; singleton:=true
Bundle-Version: 9.4.200.qualifier
Bundle-Version: 9.4.201.qualifier
Bundle-Activator: org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin

View file

@ -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>