/// <summary> /// Delete this attribute from the given node if attribute exists /// </summary> /// <param name="node"></param> public static void RemoveCompletionDate(MapNode node) { MapTree.AttributeSpec aspec = GetAttributeSpec(node.Tree); if (aspec != null) { node.DeleteAttribute(aspec); } }
/// <summary> /// Delete this attribute from the given node if attribute exists /// </summary> /// <param name="node"></param> public static void RemoveTaskStatus(MapNode node) { MapTree.AttributeSpec aspec = GetAttributeSpec(node.Tree); if (aspec != null) { node.DeleteAttribute(aspec); } }
public static void RemoveStartDate(this MapNode node) { node.DeleteAttribute(START_DATE_ATTRIBUTE); }
public void Undo() { node.DeleteAttribute(attribute); }