Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 6398 Details for
Bug 44459
First Link (Help > Welcome...) on Welcome Page doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for org.eclipse.ui.workbench
UI-44459.patch (text/plain), 1.91 KB, created by
Kim Horne
on 2003-10-10 11:09:16 EDT
(
hide
)
Description:
Patch for org.eclipse.ui.workbench
Filename:
MIME Type:
Creator:
Kim Horne
Created:
2003-10-10 11:09:16 EDT
Size:
1.91 KB
patch
obsolete
>Index: Eclipse UI/org/eclipse/ui/actions/QuickStartAction.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/QuickStartAction.java,v >retrieving revision 1.1 >diff -u -r1.1 QuickStartAction.java >--- Eclipse UI/org/eclipse/ui/actions/QuickStartAction.java 25 Jun 2003 16:14:58 -0000 1.1 >+++ Eclipse UI/org/eclipse/ui/actions/QuickStartAction.java 10 Oct 2003 15:03:10 -0000 >@@ -19,15 +19,16 @@ > import org.eclipse.swt.widgets.Shell; > > import org.eclipse.jface.action.Action; >-import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.dialogs.ErrorDialog; > import org.eclipse.jface.dialogs.MessageDialog; > import org.eclipse.jface.util.Assert; >+import org.eclipse.jface.window.Window; > > import org.eclipse.ui.IEditorPart; > import org.eclipse.ui.IWorkbenchPage; > import org.eclipse.ui.IWorkbenchWindow; > import org.eclipse.ui.PartInitException; >+import org.eclipse.ui.PlatformUI; > import org.eclipse.ui.WorkbenchException; > import org.eclipse.ui.help.WorkbenchHelp; > import org.eclipse.ui.internal.AboutInfo; >@@ -47,7 +48,14 @@ > > private IWorkbenchWindow window; > >- /** >+ /** >+ * This default constructor allows the the action to be called from the welcome page. >+ */ >+ public QuickStartAction() { >+ this(PlatformUI.getWorkbench().getActiveWorkbenchWindow()); >+ } >+ >+ /** > * Creates an instance of this action, for use in the given window. > */ > public QuickStartAction(IWorkbenchWindow window) { >@@ -105,7 +113,7 @@ > "WelcomePageSelectionDialog.title", //$NON-NLS-1$ > "WelcomePageSelectionDialog.message", //$NON-NLS-1$ > IHelpContextIds.WELCOME_PAGE_SELECTION_DIALOG); >- if (d.open() != Dialog.OK || d.getResult().length != 1) >+ if (d.open() != Window.OK || d.getResult().length != 1) > return null; > return (AboutInfo) d.getResult()[0]; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44459
: 6398 |
6400
|
6725