Bug 49826 Type filter ignores some filters
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TypeFilterPreferencePage.java
if (canEdit(field)) {
				doButtonPressed(IDX_EDIT);
        	}
        }
	}
	
	private static final int IDX_ADD= 0;
	private static final int IDX_ADD_PACKAGE= 1;
	private static final int IDX_EDIT= 2;
	private static final int IDX_REMOVE= 3;
	private static final int IDX_SELECT= 5;
	private static final int IDX_DESELECT= 6;
	private CheckedListDialogField fFilterListField;
	
	public TypeFilterPreferencePage() {
		super();
		setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
		setDescription(PreferencesMessages.getString("TypeFilterPreferencePage.description")); 
	
		String[] buttonLabels= new String[] { 
			  PreferencesMessages.getString("TypeFilterPreferencePage.add.button"), 
			  PreferencesMessages.getString("TypeFilterPreferencePage.addpackage.button"), 
			  PreferencesMessages.getString("TypeFilterPreferencePage.edit.button"), 
			  PreferencesMessages.getString("TypeFilterPreferencePage.remove.button"), 
			  null,
			  PreferencesMessages.getString("TypeFilterPreferencePage.selectall.button"), 
			  PreferencesMessages.getString("TypeFilterPreferencePage.deselectall.button"), 	
		};
				
		TypeFilterAdapter adapter= new TypeFilterAdapter();