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;
13 import org.eclipse.jface.action.Action;
14 import org.eclipse.webbrowser.WebBrowser;
15 import org.eclipse.webbrowser.WebBrowserEditorInput;
17 * Action to open the Web browser.
19 public class OpenBrowserAction extends Action {
21 * OpenBrowserAction constructor comment.
23 public OpenBrowserAction() {
28 * Implementation of method defined on <code>IAction</code>.
31 WebBrowser.openURL(new WebBrowserEditorInput(null, WebBrowserEditorInput.SHOW_ALL | WebBrowserEditorInput.FORCE_NEW_PAGE));