/**
  * Clear all of the binding type modifications. This will go thru the Binding modifications and
  * make them permanent.
  */
 public void clearBindingTypeModifications() {
   // If any of the newSymbols is non-null, there are type modifications
   for (int i = 0; i < bindingList.size(); i++) {
     Binding binding = bindingList.get(i);
     // Change the Attribute Types if required
     if (binding.hasAttrTypeModification()) {
       binding.setNewAttrDatatype(null);
     }
     // Set the SqlSymbol on the original Binding if required
     if (binding.sqlSymbolWasConverted()) {
       binding.undoSqlConversion();
     }
   }
 }
 /**
  * Accept all of the binding type modifications. This will go thru the Binding modifications and
  * make them permanent.
  */
 public void applyBindingTypeModifications() {
   // If any of the newSymbols is non-null, there are type modifications
   for (int i = 0; i < bindingListInput.getBindingList().size(); i++) {
     Binding originalBinding = originalBindingList.get(i);
     Binding binding = bindingListInput.getBindingList().get(i);
     // Change the Attribute Types if required
     if (binding.hasAttrTypeModification()) {
       originalBinding.setNewAttrDatatype(binding.getCurrentAttrDatatype());
     }
     // Set the SqlSymbol on the original Binding if required
     if (binding.sqlSymbolWasConverted()) {
       originalBinding.setNewSymbol(binding.getCurrentSymbol());
     }
   }
 }
  /** handler for convert Selected Attribute Button pressed */
  void convertSelectedAttrPressed() {
    // Get the selected binding - table only allows single select
    Binding binding = getSelectedBinding();
    // Set datatype on the binding
    binding.setNewAttrDatatype(getChooserDatatype());

    // Update the AttrConversion Panel
    updateAttributeConversionPanel(binding);

    // Refresh
    tableViewer.refresh(true);
    updateRowColors();
    updateMessageArea();

    selectBinding(binding);
  }
 public void setDatatypeOnBinding(Binding binding) {
   binding.setNewAttrDatatype(getTargetDatatype(binding));
   datatypeChanged();
 }