protected function addProperty($nodeType, $propertyName, array $propertyConfiguration)
{
if (isset($this->properties[$propertyName])) {
$this->properties[$propertyName]->domains[] = $nodeType;
} else {
$propertyLabel = isset($propertyConfiguration['ui']['label']) ? $propertyConfiguration['ui']['label'] : $propertyName;
$this->properties[$propertyName] = (object) array('comment' => $propertyLabel, 'comment_plain' => $propertyLabel, 'domains' => array($nodeType), 'id' => $propertyName, 'label' => $propertyName, 'ranges' => array(), 'min' => 0, 'max' => -1);
}
}