/** handler for convertAll Attributes Button pressed */ void convertAllAttrsPressed() { for (int i = 0; i < bindingList.size(); i++) { Binding binding = bindingList.get(i); if (binding.hasTypeConflict() && binding.hasAttributeConversion()) { // accept the default attribute type binding.acceptAttributeConversion(); } } // Refresh tableViewer.refresh(true); updateRowColors(); updateMessageArea(); selectFirstBinding(); }
/** handler for convertAll Attributes Button pressed */ void changeAllColumnDatatypesPressed() { for (int i = 0; i < bindingListInput.getBindingList().size(); i++) { Binding binding = bindingListInput.getBindingList().get(i); if (binding.hasTypeConflict() && binding.hasAttributeConversion()) { // accept the default attribute type binding.acceptAttributeConversion(); } } bindingListInput.datatypeChanged(); // Refresh bindingTableViewer.refresh(true); updateRowColors(); updateMessageArea(); selectFirstBinding(); }