Change Eclipse-LazyStart: true to Bundle-ActivationPolicy: lazy (upgrade to The Equin...
[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,
15                         String localhostUrl) {
16                 super(input, selection);
17                 fLocalhostUrl = localhostUrl;
18         }
19
20         public String getLocalhostUrl() {
21                 return fLocalhostUrl;
22         }
23 }