Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml
index 393e9eb49..ca7e2f0e2 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml
@@ -522,6 +522,22 @@
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.filesystem.ui.download"
+ helpContextId="org.eclipse.tcf.te.tcf.filesystem.command_Download"
+ id="download"
+ label="%command.label.download"
+ mnemonic="%command.download.mnemonic"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <count value="+"/>
+ <iterate>
+ <instanceof value="org.eclipse.tcf.te.tcf.filesystem.core.interfaces.runtime.IFSTreeNode"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
<separator
name="group.search"
visible="true">
@@ -938,6 +954,25 @@
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.filesystem.ui.download"
+ helpContextId="org.eclipse.tcf.te.tcf.filesystem.command_Download"
+ id="download"
+ label="%command.label.download"
+ mnemonic="%command.download.mnemonic"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <count value="+"/>
+ <iterate>
+ <instanceof value="org.eclipse.tcf.te.tcf.filesystem.core.interfaces.runtime.IFSTreeNode"/>
+ <not>
+ <test property="org.eclipse.tcf.te.tcf.filesystem.propertytester.treenode.isSystemRoot"/>
+ </not>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
</menuContribution>
<menuContribution
@@ -1028,6 +1063,10 @@
id="org.eclipse.tcf.te.tcf.filesystem.commands.refreshViewer"
name="%command.refreshViewer.name">
</command>
+ <command
+ id="org.eclipse.tcf.te.tcf.filesystem.ui.download"
+ name="%command.download.name">
+ </command>
</extension>
<!-- Command handler contributions -->
@@ -1382,6 +1421,35 @@
</enabledWhen>
</handler>
<handler
+ class="org.eclipse.tcf.te.tcf.filesystem.ui.internal.handlers.DownloadFilesHandler"
+ commandId="org.eclipse.tcf.te.tcf.filesystem.ui.download">
+ <activeWhen>
+ <and>
+ <with variable="activePartId">
+ <or>
+ <equals value="org.eclipse.tcf.te.ui.views.View"/>
+ <equals value="org.eclipse.tcf.te.ui.views.Editor"/>
+ </or>
+ </with>
+ <with variable="selection">
+ <iterate operator="and" ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.tcf.filesystem.core.interfaces.runtime.IFSTreeNode"/>
+ </iterate>
+ </with>
+ </and>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="selection">
+ <iterate operator="and" ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.tcf.filesystem.core.interfaces.runtime.IFSTreeNode"/>
+ <not>
+ <test property="org.eclipse.tcf.te.tcf.filesystem.propertytester.treenode.isSystemRoot"/>
+ </not>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler
class="org.eclipse.tcf.te.tcf.filesystem.ui.internal.handlers.RenameFilesHandler"
commandId="org.eclipse.ui.edit.rename">
<activeWhen>

Back to the top