1 package net.sourceforge.phpeclipse.webbrowser.internal;
3 import net.sourceforge.phpeclipse.webbrowser.IInternalWebBrowser;
4 import net.sourceforge.phpeclipse.webbrowser.IInternalWebBrowserWorkingCopy;
8 public class InternalWebBrowserWorkingCopy extends InternalWebBrowser implements IInternalWebBrowserWorkingCopy {
9 protected InternalWebBrowser browser;
12 public InternalWebBrowserWorkingCopy(InternalWebBrowser browser) {
13 this.browser = browser;
17 public void setUseNewPage(boolean b) {
21 public void setClearHistoryOnExit(boolean b) {
25 public boolean isWorkingCopy() {
29 public IInternalWebBrowserWorkingCopy getWorkingCopy() {
34 * @see net.sourceforge.phpeclipse.webbrowser.IExternalWebBrowserWorkingCopy#save()
36 public IInternalWebBrowser save() {
37 if (browser != null) {
38 browser.setInternal(this);
39 BrowserManager.getInstance().browserChanged(browser);