Project: Eclipse_Platform_UI
Bug 152785 Improve javadocs for org.eclipse.ui.IStartup
Reported: 2006-08-03 15:54:14 | Status: resolved fixed

The codeing example for method earlyStartup needs to be enclosed in <pre> element. Patch follows: ### Eclipse Workspace Patch 1.0 #P org.eclipse.ui.workbench Index: Eclipse UI/org/eclipse/ui/IStartup.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IStartup.java,v retrieving revision 1.9 diff -u -r1.9 IStartup.java --- Eclipse UI/org/eclipse/ui/IStartup.java 8 May 2006 20:55:31 -0000 1.9 +++ Eclipse UI/org/eclipse/ui/IStartup.java 3 Aug 2006 19:54:52 -0000 @@ -26,6 +26,7 @@ * since they may access SWT. For example, to obtain the current workbench * window, use: * <code> + * <pre> * final IWorkbench workbench = PlatformUI.getWorkbench(); * workbench.getDisplay().asyncExec(new Runnable() { * public void run() { @@ -35,6 +36,7 @@ * } * } * }); + * </pre> * </code> * </p> * @see org.eclipse.swt.widgets.Display#asyncExec

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IStartup.java