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 252112 Details for
Bug 56062
[source lookup] Duplicate source lookup should indicate full location of duplicate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
To provide different status handlers for resolving source duplication
Bug 56062 Platform.patch (text/plain), 2.02 KB, created by
Sarika Sinha
on 2015-04-02 02:59:41 EDT
(
hide
)
Description:
To provide different status handlers for resolving source duplication
Filename:
MIME Type:
Creator:
Sarika Sinha
Created:
2015-04-02 02:59:41 EDT
Size:
2.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.debug.ui >diff --git ui/org/eclipse/debug/internal/ui/sourcelookup/ResolveDuplicatesHandler.java ui/org/eclipse/debug/internal/ui/sourcelookup/ResolveDuplicatesHandler.java >index e794703..d39eab7 100644 >--- ui/org/eclipse/debug/internal/ui/sourcelookup/ResolveDuplicatesHandler.java >+++ ui/org/eclipse/debug/internal/ui/sourcelookup/ResolveDuplicatesHandler.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2005 IBM Corporation and others. >+ * Copyright (c) 2000, 2015 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -18,6 +18,7 @@ > import org.eclipse.debug.core.IStatusHandler; > import org.eclipse.debug.internal.ui.DebugUIPlugin; > import org.eclipse.debug.ui.sourcelookup.CommonSourceNotFoundEditor; >+import org.eclipse.jface.viewers.ILabelProvider; > import org.eclipse.jface.window.Window; > import org.eclipse.ui.dialogs.ElementListSelectionDialog; > >@@ -45,7 +46,7 @@ > } else if(sources.size() == 0) { > return null; > } >- ElementListSelectionDialog dialog = new ElementListSelectionDialog(DebugUIPlugin.getShell(), new SourceElementLabelProvider()); >+ ElementListSelectionDialog dialog = new ElementListSelectionDialog(DebugUIPlugin.getShell(), getLabelProvider()); > dialog.setMultipleSelection(false); > dialog.setTitle(SourceLookupUIMessages.ResolveDuplicatesHandler_0); > dialog.setMessage(SourceLookupUIMessages.ResolveDuplicatesHandler_1); >@@ -58,6 +59,13 @@ > } > > /** >+ * Different Label providers can be provided for different debugging components >+ */ >+ public ILabelProvider getLabelProvider() { >+ return new SourceElementLabelProvider(); >+ } >+ >+ /** > * Remove extra source not found editors, if any. > * If multiple source not found editors and no "real" source inputs, > * return the first source not found editor.
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 56062
:
249815
|
249920
|
252111
|
252112
|
252338
|
252343