Hi Miklos, did you use "::" in front of the class name in the plugin.xml (class="[your-classname]") to define your extension point? Those should be removed.
Best regards, Klaus ________________________________________ Von: Miklos Espak [[email protected]] Gesendet: Donnerstag, 21. Juli 2011 17:04 An: mitk-users Betreff: [mitk-users] Perspective for a CTK styled plugin Hi, for your suggestion I keep on flooding the mailing list. ;-) I created a perspective for my plugin. It worked well with BlueBerry but after the migration to CTK I get an error at run-time. To make it easy to reconstruct the situation, I remade all the changes on the AwesomeProject. The error is the following: !2.080! [BlueBerry] WARNING: The class QmitkAwesomePerspective was not registered as an Extension Type using BERRY_REGISTER_EXTENSION_CLASS(type, pluginContext) or you forgot to run Qt's moc on the header file. Legacy BlueBerry bundles should use CreateExecutableExtension<C>(propertyName, C::GetManifestName()) instead. !2.080! [BlueBerry] WARNING: Could not load executable extension QmitkAwesomePerspective from my.awesomeproject.exampleplugin The perspective is registered in mitkPluginActivator.cpp with the following command: BERRY_REGISTER_EXTENSION_CLASS(QmitkAwesomePerspective, context) Moreover, the src/internal/QmitkAwesomePerspective.h is added to the MOC_H_FILES section of files.cmake. I attached the test as a patch on the project template. I hope the format is correct. Is it a bug or I am doing something wrong? Thanks! Miklos ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
