Added "Navigate->Show In->Navigator" and "Navigate->Show In->PHP Browser" actions.
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / views / ShowInContextBrowser.java
1 package net.sourceforge.phpeclipse.webbrowser.views;
2
3 import org.eclipse.jface.viewers.ISelection;
4 import org.eclipse.ui.part.ShowInContext;
5
6 /**
7  * Adds an URL String to the ShowInContext for the BrowserUtil
8  *
9  *
10  */
11 public class ShowInContextBrowser extends ShowInContext {
12         String fLocalhostUrl;
13
14         public ShowInContextBrowser(Object input, ISelection selection, String localhostUrl) {
15                 super(input, selection);
16                 fLocalhostUrl = localhostUrl;
17         }
18
19         public String getLocalhostUrl() {
20                 return fLocalhostUrl;
21         }
22 }