mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 00:35:49 +02:00
Bug 530941 - Ignore editor file unless editor is active
Change-Id: Ie755f80cc01f55c0d4b9b704ff40008b8bb841af Signed-off-by: William Riley <william.riley@renesas.com>
This commit is contained in:
parent
d50aec4c2a
commit
5e27e4c377
1 changed files with 22 additions and 4 deletions
|
@ -103,14 +103,23 @@
|
||||||
<test property="org.eclipse.cdt.ui.checkPreference"
|
<test property="org.eclipse.cdt.ui.checkPreference"
|
||||||
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
||||||
<or>
|
<or>
|
||||||
<reference
|
|
||||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor"/>
|
|
||||||
<with variable="selection">
|
<with variable="selection">
|
||||||
<iterate ifEmpty="false">
|
<iterate ifEmpty="false">
|
||||||
<reference
|
<reference
|
||||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
||||||
</iterate>
|
</iterate>
|
||||||
</with>
|
</with>
|
||||||
|
<and>
|
||||||
|
<reference
|
||||||
|
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor">
|
||||||
|
</reference>
|
||||||
|
<with
|
||||||
|
variable="activePart">
|
||||||
|
<instanceof
|
||||||
|
value="org.eclipse.ui.IEditorPart">
|
||||||
|
</instanceof>
|
||||||
|
</with>
|
||||||
|
</and>
|
||||||
</or>
|
</or>
|
||||||
</and>
|
</and>
|
||||||
</visibleWhen>
|
</visibleWhen>
|
||||||
|
@ -124,14 +133,23 @@
|
||||||
<test property="org.eclipse.cdt.ui.checkPreference"
|
<test property="org.eclipse.cdt.ui.checkPreference"
|
||||||
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
||||||
<or>
|
<or>
|
||||||
<reference
|
|
||||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor"/>
|
|
||||||
<with variable="selection">
|
<with variable="selection">
|
||||||
<iterate ifEmpty="false">
|
<iterate ifEmpty="false">
|
||||||
<reference
|
<reference
|
||||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
||||||
</iterate>
|
</iterate>
|
||||||
</with>
|
</with>
|
||||||
|
<and>
|
||||||
|
<reference
|
||||||
|
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor">
|
||||||
|
</reference>
|
||||||
|
<with
|
||||||
|
variable="activePart">
|
||||||
|
<instanceof
|
||||||
|
value="org.eclipse.ui.IEditorPart">
|
||||||
|
</instanceof>
|
||||||
|
</with>
|
||||||
|
</and>
|
||||||
</or>
|
</or>
|
||||||
</and>
|
</and>
|
||||||
</visibleWhen>
|
</visibleWhen>
|
||||||
|
|
Loading…
Add table
Reference in a new issue