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 org.eclipse.webbrowser;
14 import org.eclipse.ui.IEditorInput;
16 * The editor input for the Web browser editor. If the
17 * integrated Web browser exists for this platform, (and
18 * the user has chosen to use it) this information will
19 * be used to populate the Web browser. If not, this
20 * information will be used to launch an external Web
23 public interface IWebBrowserEditorInput extends IEditorInput {
25 * Returns true if this page can reuse the browser that the
26 * given input is being displayed in, or false if it should
27 * open up in a new page.
29 * @param input org.eclipse.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();