1 /******************************************************************************* 2 * Copyright (c) 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - Initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ui.internal.browser; 12 13 import org.eclipse.ui.IActionBars; 14 15 public interface IBrowserViewerContainer { 16 /** 17 * Closes the container from the inside. 18 * @return 19 */ 20 boolean close(); 21 /** 22 * Returns the action bars of the container. 23 * @return action bars of the container or <code>null</code> if 24 * not available. 25 */ 26 IActionBars getActionBars(); 27 /** 28 * Opens the url in the external browser if 29 * internal browser failed to create. 30 * @param url 31 */ 32 void openInExternalBrowser(String url); 33 }