예제 #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();
 }