debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java
branchRCL_2_4
changeset 1283 e6573eb1df41
parent 1282 81d9ab809ddf
--- 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<IPath> remotePathEntries = new ArrayList<IPath>();
-	private ArrayList<IPath> projectGeneratedRemotePaths;
+	private List<IPath> 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$