mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +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:
parent
e94778b9e7
commit
54e9f2fc65
2 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.ui; singleton:=true
|
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-Activator: org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -820,6 +820,12 @@
|
||||||
class="org.eclipse.cdt.managedbuilder.internal.ui.compilationdatabase.CompilationDatabaseGeneratorBlock"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.compilationdatabase.CompilationDatabaseGeneratorBlock"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.properties.Page_JsonCompilationDatabaseGenerator"
|
id="org.eclipse.cdt.managedbuilder.ui.properties.Page_JsonCompilationDatabaseGenerator"
|
||||||
name="%JSONCompilatioDatabaseGeneratorPage.name">
|
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>
|
</page>
|
||||||
|
|
||||||
</extension>
|
</extension>
|
||||||
|
|
Loading…
Add table
Reference in a new issue