diff options
author | 2010-10-26 01:36:43 +0000 | |
---|---|---|
committer | 2010-10-26 01:36:43 +0000 | |
commit | dcd2453328f448dca66745701038e85563d72bb4 (patch) | |
tree | 00c909213cda3b35f43d3a3ae6c7c09f8433b26a /Source/ModelViewer/DataModel.cs | |
parent | 757d0aaeff6ba2782c056f4b7d231e021a2b0a79 (diff) |
Introduce distinction between canonical element name and its aliases
Diffstat (limited to 'Source/ModelViewer/DataModel.cs')
-rw-r--r-- | Source/ModelViewer/DataModel.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/ModelViewer/DataModel.cs b/Source/ModelViewer/DataModel.cs index c2ffdf4b..a640055f 100644 --- a/Source/ModelViewer/DataModel.cs +++ b/Source/ModelViewer/DataModel.cs @@ -44,7 +44,8 @@ namespace Microsoft.Boogie.ModelViewer // Things displayed to the user.
NodeState State { get; }
- IEnumerable<string> Values { get; }
+ string CanonicalValue { get; }
+ IEnumerable<string> Aliases { get; }
string ToolTip { get; }
object ViewSync { get; set; }
@@ -93,7 +94,12 @@ namespace Microsoft.Boogie.ModelViewer name = n;
}
- public virtual IEnumerable<string> Values
+ public virtual string CanonicalValue
+ {
+ get { return name.FullName(); }
+ }
+
+ public virtual IEnumerable<string> Aliases
{
get { yield break; }
}
|