mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Fixed an API tooling error.
This commit is contained in:
parent
b424f35ce4
commit
3e38bde42c
2 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.launch; singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.launch; singleton:=true
|
||||||
Bundle-Version: 7.0.0.qualifier
|
Bundle-Version: 7.1.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin
|
Bundle-Activator: org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -171,7 +171,7 @@ public abstract class CLaunchConfigurationTab extends AbstractLaunchConfiguratio
|
||||||
/**
|
/**
|
||||||
* Creates a button that allows user to insert build variables.
|
* Creates a button that allows user to insert build variables.
|
||||||
*
|
*
|
||||||
* @since 7.0
|
* @since 7.1
|
||||||
*/
|
*/
|
||||||
protected Button createVariablesButton(Composite parent, String label, final Text textField) {
|
protected Button createVariablesButton(Composite parent, String label, final Text textField) {
|
||||||
Button variablesButton = createPushButton(parent, label, null);
|
Button variablesButton = createPushButton(parent, label, null);
|
||||||
|
@ -192,7 +192,6 @@ public abstract class CLaunchConfigurationTab extends AbstractLaunchConfiguratio
|
||||||
private void handleVariablesButtonSelected(Text textField) {
|
private void handleVariablesButtonSelected(Text textField) {
|
||||||
String variable = getVariable();
|
String variable = getVariable();
|
||||||
if (variable != null) {
|
if (variable != null) {
|
||||||
// We should use insert() but not append() to be consistent with the Platform behavior (e.g. Common tab)
|
|
||||||
textField.insert(variable);
|
textField.insert(variable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue