# HG changeset patch # User Ed Swartz # Date 1272313209 18000 # Node ID e6573eb1df4174e2d8850fa054c664a25f1a73c0 # Parent 81d9ab809ddf2998708d424a76a7deacf227c0e5 Final Debug Process dialog changes from code review diff -r 81d9ab809ddf -r e6573eb1df41 debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java --- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Mon Apr 26 14:55:33 2010 -0500 +++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Mon Apr 26 15:20:09 2010 -0500 @@ -93,7 +93,7 @@ private Composite installPackageUI; private List remotePathEntries = new ArrayList(); - private ArrayList projectGeneratedRemotePaths; + private List projectGeneratedRemotePaths; protected DebugRunProcessDialog(Shell shell, LaunchWizardData data) { super(shell, data); @@ -608,8 +608,7 @@ } }); remoteProgramViewer.setInput(remotePathEntries); - remoteProgramViewer.getCombo().setVisibleItemCount(remotePathEntries.size()); - + remoteProgramViewer.getCombo().setVisibleItemCount(Math.min(10, remotePathEntries.size())); remoteProgramViewer.setData(UID, "combo_remote_program"); //$NON-NLS-1$ remoteProgramViewer.getControl().setToolTipText(Messages.getString("DebugRunProcessDialog.LaunchRemoteProgramSelectorTooltip")); //$NON-NLS-1$