2 * Copyright (c) 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM - Initial API and implementation
11 package net.sourceforge.phpeclipse.webbrowser;
15 import org.eclipse.ui.IEditorInput;
17 * The editor input for the Web browser editor. If the
18 * integrated Web browser exists for this platform, (and
19 * the user has chosen to use it) this information will
20 * be used to populate the Web browser. If not, this
21 * information will be used to launch an external Web
24 public interface IWebBrowserEditorInput extends IEditorInput {
26 * Returns true if this page can reuse the browser that the
27 * given input is being displayed in, or false if it should
28 * open up in a new page.
30 * @param input net.sourceforge.phpeclipse.webbrowser.IWebBrowserEditorInput
33 public boolean canReplaceInput(IWebBrowserEditorInput input);
36 * Returns the url that should be displayed in the browser.
38 * @return java.net.URL
43 * Returns true if the Web statusbar should be shown.
47 public boolean isStatusbarVisible();
50 * Returns true if the Web toolbar should be shown.
54 public boolean isToolbarVisible();