Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Coulon2015-11-19 16:52:55 -0500
committerRoland Grunberg2015-11-19 16:56:49 -0500
commit67af2cf84c9672e52906fd633b7921680faab5ed (patch)
treec257643b9b1e4ca26c80daa1ed00a1cd0167de69 /containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties
parent9741c6b29b6a2a97ca4cc7c1901632e9269dedf4 (diff)
downloadorg.eclipse.linuxtools-67af2cf84c9672e52906fd633b7921680faab5ed.tar.gz
org.eclipse.linuxtools-67af2cf84c9672e52906fd633b7921680faab5ed.tar.xz
org.eclipse.linuxtools-67af2cf84c9672e52906fd633b7921680faab5ed.zip
Bug 479856 - Add "Show in>Web Browser" and "Show in>File Browser"
Added a menu entry in the popup for the "Show In" group Added 2 menu contributions, one for the Web browser when a DockerContainerPort is selected, and the other one when a DockerContainerVolume is selected Opening in the System Explorer reuses some code borrowed from org.elipse.ui.ide with some adaptations because the host directory for the container volume is not necessarily a file or a folder in the workspace, hence it cannot be adapted (as in IAdaptable) into an IResource Change-Id: Ief810a5b89072c0eed673363df93efb0800ed80d Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/60815 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties')
-rw-r--r--containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties7
1 files changed, 7 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties
new file mode 100644
index 0000000000..b942924940
--- /dev/null
+++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/commands/CommandMessages.properties
@@ -0,0 +1,7 @@
+command.showIn.webBrowser=Opening in Web Browser...
+command.showIn.webBrowser.failure=Failed to open in Web Browser
+
+command.showIn.systemExplorer=Opening in System Explorer...
+command.showIn.systemExplorer.failure=Failed to open in Web Browser
+command.showIn.systemExplorer.failure.command_unavailable=Failed to open in Web Browser: command unavailable
+command.showIn.systemExplorer.failure.execute=Failed to execute {0}. Return code was: {1} \ No newline at end of file

Back to the top