18 #include <ctkPlugin.h> 25 fProperties = descriptor->GetProperties();
26 fNamespace= descriptor->GetNamespace();
27 fConfigElement= descriptor->GetExtensionElement();
32 PropertyTesterDescriptor::Pointer tester(
new PropertyTesterDescriptor(fConfigElement, fNamespace, fProperties));
37 const QString &property)
39 return fNamespace == namespaze && fProperties.contains(
"," + property +
",");
50 return plugin->getState() == ctkPlugin::ACTIVE;
bool IsDeclaringPluginActive() override
PropertyTesterDescriptor::Pointer InternalCreateDescriptor()
bool Handles(const QString &namespaze, const QString &property) override
IPropertyTester * Instantiate() override
void InternalInitialize(PropertyTesterDescriptor::Pointer descriptor)
bool IsInstantiated() override