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;
18 * The editor input for the Web browser editor. If the integrated Web browser
19 * exists for this platform, (and the user has chosen to use it) this
20 * information will be used to populate the Web browser. If not, this
21 * information will be used to launch an external Web browser.
23 public interface IWebBrowserEditorInput extends IEditorInput {
25 * Returns true if this page can reuse the browser that the given input is
26 * being displayed in, or false if it should open up in a new page.
29 * net.sourceforge.phpeclipse.webbrowser.IWebBrowserEditorInput
32 public boolean canReplaceInput(IWebBrowserEditorInput input);
35 * Returns the url that should be displayed in the browser.
37 * @return java.net.URL
42 * Returns true if the Web statusbar should be shown.
46 public boolean isStatusbarVisible();
49 * Returns true if the Web toolbar should be shown.
53 public boolean isToolbarVisible();