X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/OpenBrowserWorkbenchAction.java b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/OpenBrowserWorkbenchAction.java index 966d2e3..6991e19 100644 --- a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/OpenBrowserWorkbenchAction.java +++ b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/OpenBrowserWorkbenchAction.java @@ -4,7 +4,7 @@ * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - * + �* * Contributors: * IBM - Initial API and implementation */ @@ -14,10 +14,12 @@ import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.ISelection; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.IWorkbenchWindowActionDelegate; + /** * Action to open the Web broswer. */ -public class OpenBrowserWorkbenchAction implements IWorkbenchWindowActionDelegate { +public class OpenBrowserWorkbenchAction implements + IWorkbenchWindowActionDelegate { /** * OpenBrowserWorkbenchAction constructor comment. */ @@ -26,17 +28,21 @@ public class OpenBrowserWorkbenchAction implements IWorkbenchWindowActionDelegat } /** - * Disposes this action delegate. The implementor should unhook any references - * to itself so that garbage collection can occur. + * Disposes this action delegate. The implementor should unhook any + * references to itself so that garbage collection can occur. */ - public void dispose() { } + public void dispose() { + } /** - * Initializes this action delegate with the workbench window it will work in. - * - * @param window the window that provides the context for this delegate + * Initializes this action delegate with the workbench window it will work + * in. + * + * @param window + * the window that provides the context for this delegate */ - public void init(IWorkbenchWindow window) { } + public void init(IWorkbenchWindow window) { + } /** * Performs this action. @@ -44,23 +50,31 @@ public class OpenBrowserWorkbenchAction implements IWorkbenchWindowActionDelegat * This method is called when the delegating action has been triggered. * Implement this method to do the actual work. *
- * - * @param action the action proxy that handles the presentation portion of the - * action + * + * @param action + * the action proxy that handles the presentation portion of the + * action */ public void run(IAction action) { - WebBrowser.openURL(new WebBrowserEditorInput(null, WebBrowserEditorInput.SHOW_ALL | WebBrowserEditorInput.FORCE_NEW_PAGE)); + WebBrowser.openURL(new WebBrowserEditorInput(null, + WebBrowserEditorInput.SHOW_ALL + | WebBrowserEditorInput.FORCE_NEW_PAGE)); } /** - * Notifies this action delegate that the selection in the workbench has changed. + * Notifies this action delegate that the selection in the workbench has + * changed. ** Implementers can use this opportunity to change the availability of the * action or to modify other presentation properties. *
- * - * @param action the action proxy that handles presentation portion of the action - * @param selection the current selection in the workbench + * + * @param action + * the action proxy that handles presentation portion of the + * action + * @param selection + * the current selection in the workbench */ - public void selectionChanged(IAction action, ISelection selection) { } + public void selectionChanged(IAction action, ISelection selection) { + } } \ No newline at end of file