if (cmd_node == null) {
return;
}
node.m_CROM.clearType(CROM.CROM_t_LdapAttributeReplaceAll);
node.m_CROM.addType(CROM.CROM_t_LdapAttributeRemove);
NodeMapping mapping = treeMapper.getNodeMappingFactory().newMapping(new NodePath(cmd_path), cmd);
treeMapper.getMappingManager().addMapping(mapping);
tree.getTreeMapper().deleteMapping(new NodePath(value_path));
if (old_value_node == null && node.isLoopNode()) {
insertOldValueNode(tree, node);
}
treeMapper.updateMappingFlag();
treeMapper.updateMapAreaTables(cmd_path, cmd);
treeMapper.getMappingManager().changeHighLighted(mapping);
treeMapper.setDirty(true);
} else { // update attribute
if (!bAttributeRemove && !bAttributeReplaceAll) {
return;
}
node.m_CROM.clearType(CROM.CROM_t_LdapAttributeReplaceAll | CROM.CROM_t_LdapAttributeRemove);
if (cmd_node != null) {
tree.getTreeMapper().deleteMapping(new NodePath(cmd_path));
node.removeChild(cmd_node);
treeMapper.updateMappingFlag();
treeMapper.getMappingManager().changeHighLighted(null);
treeMapper.setDirty(true);
}