1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 03:53:21 +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();
return dialog.getVariableExpression();
}
public void addControlAccessibleListener(Control control, String controlName) {
//strip mnemonic (&)
String[] strs = controlName.split("&"); //$NON-NLS-1$