1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 119740: allow to specify only a subset of shared objects that we want symbols to be loaded for. Sort the shared library list.

This commit is contained in:
Mikhail Khodjaiants 2006-04-11 20:48:47 +00:00
parent 9d776d52c0
commit 4cbf532066
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-04-11 Mikhail Khodjaiants
Bug 119740: allow to specify only a subset of shared objects that we want symbols to be loaded for.
Sort the shared library list.
* SolibSearchPathBlock.java
2006-04-11 Mikhail Khodjaiants
Bug 119740: allow to specify only a subset of shared objects that we want symbols to be loaded for.
Use set instead of list when collecting the shared library names: different libraries can have same soname.

View file

@ -53,6 +53,7 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
@ -465,6 +466,7 @@ public class SolibSearchPathBlock extends Observable implements IMILaunchConfigu
dialog.setTitle( MIUIMessages.getString( "SolibSearchPathBlock.7" ) ); //$NON-NLS-1$
dialog.setMessage( MIUIMessages.getString( "SolibSearchPathBlock.8" ) ); //$NON-NLS-1$
dialog.setEmptyListMessage( MIUIMessages.getString( "SolibSearchPathBlock.9" ) ); //$NON-NLS-1$
dialog.setSorter( new ViewerSorter() );
dialog.setInput( libs );
dialog.setInitialElementSelections( Arrays.asList( fAutoSolibs ) );
if ( dialog.open() == Window.OK ) {