public void ShowExtensionLocationFor(UML.Extend element)
 {
     _extend = element;
     string[] extensionLocationList = new string[element.ExtensionLocation.Count];
     for(int i = 0; i < element.ExtensionLocation.Count; i ++)
     {
         extensionLocationList[i] = ((UML.ExtensionPoint)element.ExtensionLocation[i]).QualifiedName;
     }
     base.ShowList(extensionLocationList);
 }
Пример #2
0
 public void ShowConditionFor(UML.Extend extend)
 {
     _extend = extend;
     string representation = null;
     if(extend.Condition != null)
     {
         if(extend.Condition.Specification != null)
         {
             representation = extend.Condition.Specification.ToString();
         }
         else
         {
             representation = GettextCatalog.GetString ("<<A constraint>>");
         }
     }
     base.SetValue(representation);
 }
 public new void Hide()
 {
     _extend = null;
     base.Hide();
 }
Пример #4
0
 public void ShowExtendedCaseFor(UML.Extend extend)
 {
     _extend = extend;
     base.SetValue(extend.ExtendedCase == null
         ? null : extend.ExtendedCase.QualifiedName);
 }