debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/wizard/TRKSISSelectionWizardPage.java
changeset 674 20c7966a3405
parent 569 369485fbe634
equal deleted inserted replaced
673:bc9a74f8e67b 674:20c7966a3405
    17 package com.nokia.cdt.internal.debug.launch.wizard;
    17 package com.nokia.cdt.internal.debug.launch.wizard;
    18 
    18 
    19 import com.nokia.carbide.cdt.builder.CarbideBuilderPlugin;
    19 import com.nokia.carbide.cdt.builder.CarbideBuilderPlugin;
    20 import com.nokia.carbide.cdt.builder.project.*;
    20 import com.nokia.carbide.cdt.builder.project.*;
    21 import com.nokia.cpp.internal.api.utils.core.Check;
    21 import com.nokia.cpp.internal.api.utils.core.Check;
       
    22 import com.nokia.cpp.internal.api.utils.ui.BrowseDialogUtils;
    22 
    23 
    23 import cwdbg.PreferenceConstants;
    24 import cwdbg.PreferenceConstants;
    24 
    25 
    25 import org.eclipse.cdt.core.model.CoreModel;
    26 import org.eclipse.cdt.core.model.CoreModel;
    26 import org.eclipse.cdt.core.settings.model.CProjectDescriptionEvent;
    27 import org.eclipse.cdt.core.settings.model.CProjectDescriptionEvent;
   156 
   157 
   157 					dialog.setText(Messages.getString("TRKSISSelectionWizardPage.6")); //$NON-NLS-1$
   158 					dialog.setText(Messages.getString("TRKSISSelectionWizardPage.6")); //$NON-NLS-1$
   158 					dialog.setFilterExtensions(new String[] {"*.sis*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$
   159 					dialog.setFilterExtensions(new String[] {"*.sis*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$
   159 					dialog.setFilterNames(new String[] {Messages.getString("TRKSISSelectionWizardPage.7"), Messages.getString("TRKSISSelectionWizardPage.8")}); //$NON-NLS-1$ //$NON-NLS-2$
   160 					dialog.setFilterNames(new String[] {Messages.getString("TRKSISSelectionWizardPage.7"), Messages.getString("TRKSISSelectionWizardPage.8")}); //$NON-NLS-1$ //$NON-NLS-2$
   160 
   161 
       
   162 					BrowseDialogUtils.initializeFrom(dialog, sisEdit);
       
   163 
   161 					String result = dialog.open();
   164 					String result = dialog.open();
   162 					if (result != null && new File(result).exists()) {
   165 					if (result != null && new File(result).exists()) {
   163 						sisEdit.setText(result);
   166 						sisEdit.setText(result);
   164 						checkValid();
   167 						checkValid();
   165 					}
   168 					}