# HG changeset patch # User rsaid # Date 1259702573 21600 # Node ID c94d1a58b611844412c7d83ff9c47aebdfd782ef # Parent 095227a6f44214db029806b781a23500aa521615 Added UIDs to the widgets diff -r 095227a6f442 -r c94d1a58b611 debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/CarbideMainTab.java --- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/CarbideMainTab.java Mon Nov 30 14:30:06 2009 -0600 +++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/CarbideMainTab.java Tue Dec 01 15:22:53 2009 -0600 @@ -47,12 +47,14 @@ mainComp.setLayoutData(gd); fProgLabel = new Label(mainComp, SWT.NONE); fProgLabel.setText(LaunchMessages.getString("CMainTab.C/C++_Application")); //$NON-NLS-1$ + fProgLabel.setData(".uid", "CarbideMainTab.ProgramLabel"); gd = new GridData(); gd.horizontalSpan = 3; fProgLabel.setLayoutData(gd); fProgText = new Text(mainComp, SWT.SINGLE | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); fProgText.setLayoutData(gd); + fProgText.setData(".uid", "CarbideMainTab.ProgramText"); fProgText.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent evt) { @@ -62,6 +64,7 @@ Button fBrowseForBinaryButton; fBrowseForBinaryButton = createPushButton(mainComp, LaunchMessages.getString("Launch.common.Browse_2"), null); //$NON-NLS-1$ + fBrowseForBinaryButton.setData(".uid", "CarbideMainTab.BrowseForBinaryButton"); fBrowseForBinaryButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent evt) { diff -r 095227a6f442 -r c94d1a58b611 debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/EmulationMainTab.java --- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/EmulationMainTab.java Mon Nov 30 14:30:06 2009 -0600 +++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/EmulationMainTab.java Tue Dec 01 15:22:53 2009 -0600 @@ -109,11 +109,13 @@ gd.horizontalSpan = 2; hostLabel.setLayoutData(gd); hostLabel.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ + hostLabel.setData(".uid", "EmulationMainTab.hostLabel"); hostText = new Text(projComp, SWT.SINGLE | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); hostText.setLayoutData(gd); hostText.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ + hostText.setData(".uid", "EmulationMainTab.hostText"); hostText.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent evt) { @@ -122,8 +124,8 @@ }); hostBrowse = createPushButton(projComp, Messages.getString("EmulationMainTab.4"), null); //$NON-NLS-1$ + hostBrowse.setData(".uid", "EmulationMainTab.hostBrowse"); hostBrowse.addSelectionListener(new SelectionAdapter() { - public void widgetSelected(SelectionEvent evt) { FileDialog dialog = new FileDialog(getShell(), SWT.NONE);