mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +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"
|
||||
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
||||
<or>
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor"/>
|
||||
<with variable="selection">
|
||||
<iterate ifEmpty="false">
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
||||
</iterate>
|
||||
</with>
|
||||
<and>
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor">
|
||||
</reference>
|
||||
<with
|
||||
variable="activePart">
|
||||
<instanceof
|
||||
value="org.eclipse.ui.IEditorPart">
|
||||
</instanceof>
|
||||
</with>
|
||||
</and>
|
||||
</or>
|
||||
</and>
|
||||
</visibleWhen>
|
||||
|
@ -124,14 +133,23 @@
|
|||
<test property="org.eclipse.cdt.ui.checkPreference"
|
||||
value="org.eclipse.core.resources/description.autobuilding=false"/>
|
||||
<or>
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor"/>
|
||||
<with variable="selection">
|
||||
<iterate ifEmpty="false">
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFile"/>
|
||||
</iterate>
|
||||
</with>
|
||||
<and>
|
||||
<reference
|
||||
definitionId="org.eclipse.cdt.managedbuilder.ui.isBuildableFileOpenInEditor">
|
||||
</reference>
|
||||
<with
|
||||
variable="activePart">
|
||||
<instanceof
|
||||
value="org.eclipse.ui.IEditorPart">
|
||||
</instanceof>
|
||||
</with>
|
||||
</and>
|
||||
</or>
|
||||
</and>
|
||||
</visibleWhen>
|
||||
|
|
Loading…
Add table
Reference in a new issue