Пример #1
0
 public override void GraphDoReplaceProperty(int propertyKeyId, Value replacedValue, Value newValue)
 {
     if (replacedValue != NO_VALUE)
     {
         OrCreateGraphState.changeProperty(propertyKeyId, newValue);
     }
     else
     {
         OrCreateGraphState.addProperty(propertyKeyId, newValue);
     }
     DataChanged();
 }
Пример #2
0
 public override void GraphDoRemoveProperty(int propertyKeyId)
 {
     OrCreateGraphState.removeProperty(propertyKeyId);
     DataChanged();
 }