using System.Collections.Generic; using System.ComponentModel; using Deltares.Geometry; using Deltares.Standard; using Deltares.Standard.Language; namespace Deltares.Stability { public class SafeProfile : GeometryPointString, IVisibleEnabled, IVisibleEnabledProvider { [ReadOnly(true)] public override IList Points { get { return base.Points; } } public override string ToString() { return LocalizationManager.GetTranslatedText(GetType(), "SafeProfile"); } public bool IsEnabled(string property) { return false; } public bool IsVisible(string property) { return true; } public bool IsEnabled(object source, string property) { return false; } public bool IsVisible(object source, string property) { return true; } } }