Added UIDs to the widgets
authorrsaid
Tue, 01 Dec 2009 15:22:53 -0600
changeset 596 c94d1a58b611
parent 595 095227a6f442
child 597 0936494b27b5
Added UIDs to the widgets
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/CarbideMainTab.java
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/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) {
--- 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);