1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

[235934] Launch Shell/Terminal commands enabled when selection is empty (Apply patch from Anna Dushistova)

This commit is contained in:
Martin Oberhuber 2008-06-06 15:32:14 +00:00
parent a192bb1785
commit a67928dd6e
2 changed files with 9 additions and 1 deletions

View file

@ -17,6 +17,7 @@ Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
Martin Oberhuber (Wind River) - [186748] Move ISubSystemConfigurationAdapter from UI/rse.core.subsystems.util
Anna Dushistova (MontaVista) - [226550] [api] Launch Shell and Launch Terminal actions should be contributed declaratively
Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands menu placement and category
Anna Dushistova (MontaVista) - [235934] Launch Shell/Terminal commands enabled when selection is empty
-->
<?eclipse version="3.0"?>
<plugin>
@ -145,6 +146,8 @@ Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands m
label="%Launch_Shell"
tooltip="%Launch_Shell_Tooltip">
<visibleWhen>
<with variable="selection">
<count value="1" />
<iterate>
<and>
<test
@ -161,6 +164,7 @@ Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands m
</test>
</and>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>

View file

@ -16,6 +16,7 @@ Martin Oberhuber (Wind River) - [180519] declaratively register adapter factorie
Yu-Fen Kuo (MontaVista) - [170910] Integrate Terminal with RSE
Anna Dushistova (MontaVista) - [227535] [rseterminal][api] terminals.ui should not depend on files.core
Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands menu placement and category
Anna Dushistova (MontaVista) - [235934] Launch Shell/Terminal commands enabled when selection is empty
-->
<?eclipse version="3.2"?>
<plugin>
@ -58,6 +59,8 @@ Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands m
label="%Launch_Terminal_Label"
tooltip="%Launch_Terminal_Tooltip">
<visibleWhen>
<with variable="selection">
<count value="1" />
<iterate>
<or>
<and>
@ -78,7 +81,8 @@ Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands m
value="org.eclipse.rse.subsystems.terminals.core.ITerminalServiceSubSystem">
</instanceof>
</or>
</iterate>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>