| 161 | } |
| 162 | |
| 163 | void mitk::Label::SetProperty(const std::string &propertyKey, BaseProperty *property, const std::string &contextName, bool fallBackOnDefaultContext) |
| 164 | { |
| 165 | itk::SimpleMemberCommand<Label>::Pointer command = itk::SimpleMemberCommand<Label>::New(); |
| 166 | command->SetCallbackFunction(this, &Label::Modified); |
| 167 | property->AddObserver(itk::ModifiedEvent(), command); |
| 168 | |
| 169 | Superclass::SetProperty(propertyKey, property, contextName, fallBackOnDefaultContext); |
| 170 | } |
| 171 | |
| 172 | mitk::BaseProperty::ConstPointer mitk::Label::GetConstProperty(const std::string& propertyKey, const std::string& contextName, bool fallBackOnDefaultContext) const |
| 173 | { |