X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/views/ShowInContextBrowser.java b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/views/ShowInContextBrowser.java new file mode 100644 index 0000000..20c3a98 --- /dev/null +++ b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/views/ShowInContextBrowser.java @@ -0,0 +1,22 @@ +package net.sourceforge.phpeclipse.webbrowser.views; + +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.ui.part.ShowInContext; + +/** + * Adds an URL String to the ShowInContext for the BrowserUtil + * + * + */ +public class ShowInContextBrowser extends ShowInContext { + String fLocalhostUrl; + + public ShowInContextBrowser(Object input, ISelection selection, String localhostUrl) { + super(input, selection); + fLocalhostUrl = localhostUrl; + } + + public String getLocalhostUrl() { + return fLocalhostUrl; + } +}