1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

- added protected method that allow customization of this page

This commit is contained in:
Alena Laskavaia 2008-11-28 16:44:10 +00:00
parent 57ed777b6c
commit cbdea1288c

View file

@ -446,9 +446,13 @@ public class ToolSettingsTab extends AbstractCBuildPropertyTab implements IPrefe
setOption(op1[i], op2[i], dst, res);
}
}
protected void addFilter(ViewerFilter filter) {
optionList.addFilter(filter);
}
@SuppressWarnings("unchecked")
private void setOption(IOption op1, IOption op2, IHoldsOptions dst, IResourceInfo res){
protected void setOption(IOption op1, IOption op2, IHoldsOptions dst, IResourceInfo res){
try {
switch (op1.getValueType()) {
case IOption.BOOLEAN :