// it's parent is "feature" or "source" or page ("case" or "box")
if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE,
WDG_GROUP, WDG_OPTIONALBOX,
- WDG_TOOLBOX_BOX, WDG_SWITCH_CASE, NULL))
+ WDG_TOOLBOX_BOX, WDG_RADIOBOX_ITEM,
+ WDG_SWITCH_CASE, NULL))
return false;
//it should not be a "source" or a "validator" node
return false;
// it's parent is "feature" or "source" or a page ("box", "case")
if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE, WDG_GROUP, WDG_OPTIONALBOX,
- WDG_TOOLBOX_BOX, WDG_SWITCH_CASE, NULL))
+ WDG_TOOLBOX_BOX, WDG_RADIOBOX_ITEM, WDG_SWITCH_CASE, NULL))
return false;
//it should not be a "source" or a "validator" node
if(!isElementNode(theNode))
return false;
- return isNode(theNode, WDG_OPTIONALBOX, WDG_SWITCH_CASE, WDG_TOOLBOX_BOX, NULL);
+ return isNode(theNode, WDG_OPTIONALBOX, WDG_SWITCH_CASE, WDG_TOOLBOX_BOX,
+ WDG_RADIOBOX_ITEM, NULL);
}
bool hasChild(xmlNodePtr theNode)
std::list<std::pair<std::string, std::string> > aCases;
xmlNodePtr aCaseNode =
- hasParentRecursive(theNode, WDG_SWITCH_CASE, WDG_TOOLBOX_BOX, WDG_OPTIONALBOX, NULL);
+ hasParentRecursive(theNode, WDG_SWITCH_CASE, WDG_TOOLBOX_BOX, WDG_OPTIONALBOX, WDG_RADIOBOX_ITEM, NULL);
while(aCaseNode) {
std::string aCaseNodeID = getProperty(aCaseNode, _ID);
std::string aSwitchNodeID = "";
aCases.push_back(std::make_pair(aSwitchNodeID, aCaseNodeID));
aCaseNode = hasParentRecursive(aSwitchNode, WDG_SWITCH_CASE,
- WDG_TOOLBOX_BOX, WDG_OPTIONALBOX, NULL);
+ WDG_TOOLBOX_BOX, WDG_OPTIONALBOX, WDG_RADIOBOX_ITEM, NULL);
}
aMessage->setCases(aCases);
Events_Loop::loop()->send(aMessage);
void Config_FeatureReader::cleanup(xmlNodePtr theNode)
{
if (isNode(theNode, WDG_OPTIONALBOX, WDG_SWITCH, WDG_SWITCH_CASE,
- WDG_TOOLBOX, WDG_TOOLBOX_BOX, NULL)) {
+ WDG_TOOLBOX, WDG_TOOLBOX_BOX, WDG_RADIOBOX_ITEM, WDG_RADIOBOX, NULL)) {
// cleanup id of cases when leave case node
cleanupAttribute(theNode, _ID);
}
TestIntersectionWithLine.py
TestIntersectionWithCircle.py
TestIntersectionWithSpline.py
- TestIntersectionChangeType.py
+ TestIntersectionChangeEdge.py
Test2273.py
Test2280.py
Test2287.py