* freeplane.controller.filter.condition.Condition#checkNode(freeplane.modes
* .MindMapNode)
*/
public boolean checkNode(final NodeModel node) {
final IAttributeTableModel attributes = NodeAttributeTableModel.getModel(node);
final TextController textController = TextController.getController();
for (int i = 0; i < attributes.getRowCount(); i++) {
if(attribute.equals(AttributeConditionController.ANY_ATTRIBUTE_NAME_OR_VALUE_OBJECT)){
if (checkText(attributes.getValueAt(i, 0).toString()))
return true;
}
else if(! attributes.getValueAt(i, 0).equals(attribute)) {
continue;
}
final Object originalContent = attributes.getValueAt(i, 1);
String text = textController.getTransformedTextNoThrow(originalContent, node, null);
if(checkText(text))
return true;
}
return false;
}