mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
see ChangeLog
This commit is contained in:
parent
460eff2253
commit
33fdeeac10
3 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2003-07-28 Tom Tromey <tromey@redhat.com>
|
||||
* src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
|
||||
(loadDebuggerComboBox): Sort entries by name. from
|
||||
|
||||
2003-07-28 Mikhail Khodjaiants
|
||||
* src/org/eclipse/cdt/launch/sourcelookup/DefaultSourceLocator.java
|
||||
Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package -
|
||||
the methods of this class are mostly used in UI plugins.
|
||||
|
||||
2003-07-22 David Inglis
|
||||
* src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java
|
||||
* src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
|
||||
|
|
|
@ -14,10 +14,10 @@ import javax.xml.parsers.DocumentBuilderFactory;
|
|||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.apache.xerces.dom.DocumentImpl;
|
||||
import org.eclipse.cdt.debug.core.CDebugUtils;
|
||||
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||
import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator;
|
||||
import org.eclipse.cdt.debug.core.sourcelookup.ISourceMode;
|
||||
import org.eclipse.cdt.debug.internal.core.CDebugUtils;
|
||||
import org.eclipse.cdt.debug.ui.sourcelookup.CUISourceLocator;
|
||||
import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin;
|
||||
import org.eclipse.core.resources.IProject;
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
*/
|
||||
package org.eclipse.cdt.launch.ui;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
|
||||
import org.eclipse.cdt.core.model.IBinary;
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
||||
|
@ -128,6 +131,13 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
|||
}
|
||||
fDCombo.removeAll();
|
||||
debugConfigs = CDebugCorePlugin.getDefault().getDebugConfigurations();
|
||||
Arrays.sort(debugConfigs, new Comparator() {
|
||||
public int compare(Object o1, Object o2) {
|
||||
ICDebugConfiguration ic1 = (ICDebugConfiguration) o1;
|
||||
ICDebugConfiguration ic2 = (ICDebugConfiguration) o2;
|
||||
return ic1.getName().compareTo(ic2.getName());
|
||||
}
|
||||
});
|
||||
int x = 0;
|
||||
int selndx = -1;
|
||||
for (int i = 0; i < debugConfigs.length; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue