Index: DamClients/DamUI/trunk/src/Dam/Forms/DamPlugin.cs =================================================================== diff -u -r6769 -r6776 --- DamClients/DamUI/trunk/src/Dam/Forms/DamPlugin.cs (.../DamPlugin.cs) (revision 6769) +++ DamClients/DamUI/trunk/src/Dam/Forms/DamPlugin.cs (.../DamPlugin.cs) (revision 6776) @@ -447,8 +447,8 @@ { DynamicPropertyControl dpc = mainForm.DynamicPropertyControl; // deregister the ugly property control provided by the Geotechnics plugin - dpc.ClearRegistrationsForType(typeof(Soil)); - dpc.BuildDelayedPropertyControlForTypes(() => PropertyControlFactory.GetPropertyControl(), typeof(Soil)); + dpc.ClearRegistrationsForType(typeof(DamSoil)); + dpc.BuildDelayedPropertyControlForTypes(() => PropertyControlFactory.GetPropertyControl(), typeof(DamSoil)); dpc.BuildPropertyControlTabForTypes(locationPropertyControl, typeof(Location), typeof(LocationJob)); dpc.BuildPropertyControlTabForTypes(new LocationScenariosControl(), typeof(Location), typeof(LocationJob)); @@ -472,9 +472,9 @@ AllowUserColumnFilterEdit = true }; - mainForm.RegisterTableControl(typeof(Soil), materialsTable, "Materials"); - BindSupport.Bind(materialPanel, materialsTable, typeof(Dike), "SoilList.Soils"); - BindSupport.Bind(materialPanel, materialsTable.Parent, typeof(Dike), "SoilList.Soils", BindingType.Visibility); + mainForm.RegisterTableControl(typeof(DamSoil), materialsTable, "Materials"); + BindSupport.Bind(materialPanel, materialsTable, typeof(Dike), "DamSoils"); + BindSupport.Bind(materialPanel, materialsTable.Parent, typeof(Dike), "DamSoils", BindingType.Visibility); mainForm.DynamicTableControl.RegisterTable(typeof(Location), locationsControl, "Locations"); BindSupport.Bind(projectPanel, locationsControl, p => p.Locations);