1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

add access control listener

This commit is contained in:
David Inglis 2005-04-06 19:50:32 +00:00
parent 39a891e435
commit 5cbaa2e78d

View file

@ -109,7 +109,7 @@ public class CArgumentsTab extends CLaunchConfigurationTab {
} }
}); });
// addControlAccessibleListener(fArgumentVariablesButton, fArgumentVariablesButton.getText()); // need to strip the mnemonic from buttons addControlAccessibleListener(fArgumentVariablesButton, fArgumentVariablesButton.getText()); // need to strip the mnemonic from buttons
} }
/** /**
@ -133,6 +133,7 @@ public class CArgumentsTab extends CLaunchConfigurationTab {
dialog.open(); dialog.open();
return dialog.getVariableExpression(); return dialog.getVariableExpression();
} }
public void addControlAccessibleListener(Control control, String controlName) { public void addControlAccessibleListener(Control control, String controlName) {
//strip mnemonic (&) //strip mnemonic (&)
String[] strs = controlName.split("&"); //$NON-NLS-1$ String[] strs = controlName.split("&"); //$NON-NLS-1$