Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2015-04-24 08:32:56 +0000
committerUwe Stieber2015-04-27 06:19:48 +0000
commitd0afe3bdb9d7f85bcc9b2bd55288b749fb1cb4a0 (patch)
tree662a05dc51ecad30df22cd1cbf3dd46c10fd9f11 /target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml
parentcfa8c3b4d3b6f0815b4e8dc73d16dfbbafc10e28 (diff)
downloadorg.eclipse.tcf-d0afe3bdb9d7f85bcc9b2bd55288b749fb1cb4a0.tar.gz
org.eclipse.tcf-d0afe3bdb9d7f85bcc9b2bd55288b749fb1cb4a0.tar.xz
org.eclipse.tcf-d0afe3bdb9d7f85bcc9b2bd55288b749fb1cb4a0.zip
Bug 465093 - Replace incomplete dnd with a 'Download' action.1.3_WR_20150508_4.1.01.3_WR_20150508_4.1.0_bugfix
Change-Id: I345d5559f8492271a60dec064f626d03cb0a67ad Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
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