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:
parent
39a891e435
commit
5cbaa2e78d
1 changed files with 2 additions and 1 deletions
|
@ -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$
|
||||||
|
|
Loading…
Add table
Reference in a new issue