|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2012 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2013 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 665-675
Link Here
|
| 665 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_signal_param_in_overriding_label; |
665 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_signal_param_in_overriding_label; |
| 666 |
fFilteredPrefTree.addCheckBox(inner, label, PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING, disabledEnabled, extraIndent, node); |
666 |
fFilteredPrefTree.addCheckBox(inner, label, PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING, disabledEnabled, extraIndent, node); |
| 667 |
|
667 |
|
| 668 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_ignore_documented_unused_parameters; |
|
|
| 669 |
fFilteredPrefTree.addCheckBox(inner, label, PREF_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE, enabledDisabled, extraIndent, node); |
| 670 |
|
| 671 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_unused_type_parameter; |
668 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_unused_type_parameter; |
| 672 |
fFilteredPrefTree.addComboBox(inner, label, PREF_PB_UNUSED_TYPE_PARAMETER, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent, section); |
669 |
fFilteredPrefTree.addComboBox(inner, label, PREF_PB_UNUSED_TYPE_PARAMETER, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent, section); |
|
|
670 |
|
| 671 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_ignore_documented_unused_parameters; |
| 672 |
fFilteredPrefTree.addCheckBox(inner, label, PREF_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE, enabledDisabled, defaultIndent, node); |
| 673 |
|
673 |
|
| 674 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_unused_imports_label; |
674 |
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_unused_imports_label; |
| 675 |
fFilteredPrefTree.addComboBox(inner, label, PREF_PB_UNUSED_IMPORT, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent, section); |
675 |
fFilteredPrefTree.addComboBox(inner, label, PREF_PB_UNUSED_IMPORT, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent, section); |
|
Lines 966-972
Link Here
|
| 966 |
private void updateEnableStates() { |
966 |
private void updateEnableStates() { |
| 967 |
boolean enableUnusedParams= !checkValue(PREF_PB_UNUSED_PARAMETER, IGNORE); |
967 |
boolean enableUnusedParams= !checkValue(PREF_PB_UNUSED_PARAMETER, IGNORE); |
| 968 |
getCheckBox(PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING).setEnabled(enableUnusedParams); |
968 |
getCheckBox(PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING).setEnabled(enableUnusedParams); |
| 969 |
getCheckBox(PREF_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE).setEnabled(enableUnusedParams); |
|
|
| 970 |
|
969 |
|
| 971 |
boolean enableDeprecation= !checkValue(PREF_PB_DEPRECATION, IGNORE); |
970 |
boolean enableDeprecation= !checkValue(PREF_PB_DEPRECATION, IGNORE); |
| 972 |
getCheckBox(PREF_PB_DEPRECATION_IN_DEPRECATED_CODE).setEnabled(enableDeprecation); |
971 |
getCheckBox(PREF_PB_DEPRECATION_IN_DEPRECATED_CODE).setEnabled(enableDeprecation); |