diff --git a/Examples/BlueBerryExampleLauncher/Configurations/SelectionServiceMITK.cmake b/Examples/BlueBerryExampleLauncher/Configurations/SelectionServiceMITK.cmake index 9583617ef5..c132e4b801 100644 --- a/Examples/BlueBerryExampleLauncher/Configurations/SelectionServiceMITK.cmake +++ b/Examples/BlueBerryExampleLauncher/Configurations/SelectionServiceMITK.cmake @@ -1,4 +1,4 @@ set(REQUIRED_PLUGINS org.mitk.example.gui.selectionservicemitk - org.mitk.gui.qt.datamanager + org.mitk.example.gui.selectionservicemitk.views ) diff --git a/Examples/Plugins/PluginList.cmake b/Examples/Plugins/PluginList.cmake index c8710bbc01..b29ba56832 100644 --- a/Examples/Plugins/PluginList.cmake +++ b/Examples/Plugins/PluginList.cmake @@ -1,13 +1,14 @@ # Plug-ins must be ordered according to their dependencies set(MITK_EXAMPLE_PLUGINS org.mitk.example.gui.minimalapplication:ON org.mitk.example.gui.customviewer:ON org.mitk.example.gui.customviewer.views:ON org.mitk.example.gui.multipleperspectives:ON org.mitk.example.gui.selectionserviceqt:ON org.mitk.example.gui.selectionservicemitk:ON + org.mitk.example.gui.selectionservicemitk.views:ON org.mitk.example.gui.extensionpointdefinition:ON org.mitk.example.gui.extensionpointcontribution:ON ) diff --git a/Examples/Plugins/org.mitk.example.gui.multipleperspectives/manifest_headers.cmake b/Examples/Plugins/org.mitk.example.gui.multipleperspectives/manifest_headers.cmake index 87fdab73e7..c8f5f39457 100644 --- a/Examples/Plugins/org.mitk.example.gui.multipleperspectives/manifest_headers.cmake +++ b/Examples/Plugins/org.mitk.example.gui.multipleperspectives/manifest_headers.cmake @@ -1,8 +1,7 @@ set(Plugin-Name "MITK Example: multiple perspectives and views") set(Plugin-Version "1.0.0") set(Plugin-Vendor "DKFZ, Medical and Biological Informatics") set(Plugin-ContactAddress "http://www.mitk.org") set(Require-Plugin org.blueberry.ui.qt - org.mitk.gui.qt.common ) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/CMakeLists.txt b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/CMakeLists.txt new file mode 100644 index 0000000000..ecf5467bcc --- /dev/null +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/CMakeLists.txt @@ -0,0 +1,7 @@ +project(org_mitk_example_gui_selectionservicemitk_views) + +MACRO_CREATE_MITK_CTK_PLUGIN( + EXPORT_DIRECTIVE org_mitk_example_gui_selectionservicemitk_views_EXPORT + EXPORTED_INCLUDE_SUFFIXES src + MODULE_DEPENDENCIES Qmitk + ) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/documentation/doxygen/modules.dox b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/documentation/doxygen/modules.dox new file mode 100644 index 0000000000..b1114fe9fa --- /dev/null +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/documentation/doxygen/modules.dox @@ -0,0 +1,15 @@ +/** + \defgroup org_mitk_example_gui_selectionservicemitk org.mitk.example.gui.selectionservicemitk + \ingroup MITKExamplePlugins + + \brief An example application plug-in with a minimal selection service based on MITK elements. +*/ + +/** + \defgroup org_mitk_example_gui_selectionservicemitk_views_internal Internal + \ingroup org_mitk_example_gui_selectionservicemitk_views + + \brief This subcategory includes the internal classes of the org.mitk.example.gui.selectionservicemitk.views plugin. Other + plugins must not rely on these classes. They contain implementation details and their interface + may change at any time. We mean it. +*/ diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/files.cmake similarity index 69% copy from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake copy to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/files.cmake index b4d76b36c8..b74bc9f064 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/files.cmake @@ -1,40 +1,35 @@ set(SRC_CPP_FILES ) set(INTERNAL_CPP_FILES - org_mitk_example_gui_selectionservicemitk_Activator.cpp - SelectionServiceMitk.cpp - ExtendedPerspective.cpp + org_mitk_example_gui_selectionservicemitk_views_Activator.cpp ListenerViewMitk.cpp SelectionViewMitk.cpp ) set(UI_FILES src/internal/ListenerViewMitkControls.ui src/internal/SelectionViewMitkControls.ui ) set(MOC_H_FILES - src/internal/org_mitk_example_gui_selectionservicemitk_Activator.h - src/internal/SelectionServiceMitk.h - src/internal/ExtendedPerspective.h + src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.h src/internal/ListenerViewMitk.h src/internal/SelectionViewMitk.h ) set(CACHED_RESOURCE_FILES plugin.xml - resources/perspectiveIcon1.png resources/selectionListenerIcon.png resources/selectionProviderIcon.png ) set(CPP_FILES ) foreach(file ${SRC_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/${file}) endforeach(file ${SRC_CPP_FILES}) foreach(file ${INTERNAL_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/internal/${file}) endforeach(file ${INTERNAL_CPP_FILES}) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/manifest_headers.cmake similarity index 91% copy from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake copy to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/manifest_headers.cmake index 8bcbc94bc0..9804e1e282 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/manifest_headers.cmake @@ -1,8 +1,7 @@ set(Plugin-Name "MITK Example: Seletion service MITK") set(Plugin-Version "1.0.0") set(Plugin-Vendor "DKFZ, Medical and Biological Informatics") set(Plugin-ContactAddress "http://www.mitk.org") set(Require-Plugin - org.blueberry.ui.qt org.mitk.gui.qt.common ) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/plugin.xml b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/plugin.xml new file mode 100644 index 0000000000..1d543d1dfe --- /dev/null +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/plugin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/resources/selectionListenerIcon.png b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/resources/selectionListenerIcon.png similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/resources/selectionListenerIcon.png rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/resources/selectionListenerIcon.png diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/resources/selectionProviderIcon.png b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/resources/selectionProviderIcon.png similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/resources/selectionProviderIcon.png rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/resources/selectionProviderIcon.png diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitk.cpp b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitk.cpp similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitk.cpp rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitk.cpp diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitk.h b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitk.h similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitk.h rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitk.h diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitkControls.ui b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitkControls.ui similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/ListenerViewMitkControls.ui rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/ListenerViewMitkControls.ui diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitk.cpp b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitk.cpp similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitk.cpp rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitk.cpp diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitk.h b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitk.h similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitk.h rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitk.h diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitkControls.ui b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitkControls.ui similarity index 100% rename from Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionViewMitkControls.ui rename to Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/SelectionViewMitkControls.ui diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.cpp b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.cpp new file mode 100644 index 0000000000..6dbb8b0ae1 --- /dev/null +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.cpp @@ -0,0 +1,38 @@ +/*=================================================================== + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) German Cancer Research Center, +Division of Medical and Biological Informatics. +All rights reserved. + +This software is distributed WITHOUT ANY WARRANTY; without +even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. + +See LICENSE.txt or http://www.mitk.org for details. + +===================================================================*/ + + +#include "org_mitk_example_gui_selectionservicemitk_views_Activator.h" + +#include "ListenerViewMitk.h" +#include "SelectionViewMitk.h" + +#include + + +void org_mitk_example_gui_selectionservicemitk_views_Activator::start(ctkPluginContext* context) +{ + BERRY_REGISTER_EXTENSION_CLASS(ListenerViewMitk, context) + BERRY_REGISTER_EXTENSION_CLASS(SelectionViewMitk, context) +} + +void org_mitk_example_gui_selectionservicemitk_views_Activator::stop(ctkPluginContext* context) +{ + Q_UNUSED(context) +} + + +Q_EXPORT_PLUGIN2(org_mitk_example_gui_selectionservicemitk_views, org_mitk_example_gui_selectionservicemitk_views_Activator) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.h b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.h new file mode 100644 index 0000000000..fc8d45039c --- /dev/null +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk.views/src/internal/org_mitk_example_gui_selectionservicemitk_views_Activator.h @@ -0,0 +1,36 @@ +/*=================================================================== + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) German Cancer Research Center, +Division of Medical and Biological Informatics. +All rights reserved. + +This software is distributed WITHOUT ANY WARRANTY; without +even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. + +See LICENSE.txt or http://www.mitk.org for details. + +===================================================================*/ + + +#ifndef org_mitk_example_gui_selectionservicemitk_views_Activator_H +#define org_mitk_example_gui_selectionservicemitk_views_Activator_H + +#include + +class org_mitk_example_gui_selectionservicemitk_views_Activator : + public QObject, public ctkPluginActivator +{ + Q_OBJECT + Q_INTERFACES(ctkPluginActivator) + +public: + + void start(ctkPluginContext* context); + void stop(ctkPluginContext* context); + +}; + +#endif // org_mitk_example_gui_selectionservicemitk_views_Activator_H diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/CMakeLists.txt b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/CMakeLists.txt index 65ca64e5fc..700cfe161d 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/CMakeLists.txt +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/CMakeLists.txt @@ -1,7 +1,6 @@ project(org_mitk_example_gui_selectionservicemitk) MACRO_CREATE_MITK_CTK_PLUGIN( EXPORT_DIRECTIVE org_mitk_example_gui_selectionservicemitk_EXPORT EXPORTED_INCLUDE_SUFFIXES src - MODULE_DEPENDENCIES Qmitk ) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake index b4d76b36c8..a00585cad8 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/files.cmake @@ -1,40 +1,32 @@ set(SRC_CPP_FILES ) set(INTERNAL_CPP_FILES org_mitk_example_gui_selectionservicemitk_Activator.cpp SelectionServiceMitk.cpp ExtendedPerspective.cpp - ListenerViewMitk.cpp - SelectionViewMitk.cpp ) set(UI_FILES - src/internal/ListenerViewMitkControls.ui - src/internal/SelectionViewMitkControls.ui ) set(MOC_H_FILES src/internal/org_mitk_example_gui_selectionservicemitk_Activator.h src/internal/SelectionServiceMitk.h src/internal/ExtendedPerspective.h - src/internal/ListenerViewMitk.h - src/internal/SelectionViewMitk.h ) set(CACHED_RESOURCE_FILES plugin.xml resources/perspectiveIcon1.png - resources/selectionListenerIcon.png - resources/selectionProviderIcon.png ) set(CPP_FILES ) foreach(file ${SRC_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/${file}) endforeach(file ${SRC_CPP_FILES}) foreach(file ${INTERNAL_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/internal/${file}) endforeach(file ${INTERNAL_CPP_FILES}) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake index 8bcbc94bc0..4215586430 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/manifest_headers.cmake @@ -1,8 +1,7 @@ set(Plugin-Name "MITK Example: Seletion service MITK") set(Plugin-Version "1.0.0") set(Plugin-Vendor "DKFZ, Medical and Biological Informatics") set(Plugin-ContactAddress "http://www.mitk.org") set(Require-Plugin org.blueberry.ui.qt - org.mitk.gui.qt.common ) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/plugin.xml b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/plugin.xml index 15f74d5a9d..99f88e0f7b 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/plugin.xml +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/plugin.xml @@ -1,37 +1,19 @@ - - - - - - - - - - diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.cpp b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.cpp index 47f2769d1d..f5b4b23de7 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.cpp +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.cpp @@ -1,76 +1,76 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "SelectionServiceMitk.h" // berry includes #include #include class SelectionServiceMITKWorkbenchAdvisor : public berry::QtWorkbenchAdvisor { public: static const std::string DEFAULT_PERSPECTIVE_ID; berry::WorkbenchWindowAdvisor* CreateWorkbenchWindowAdvisor( berry::IWorkbenchWindowConfigurer::Pointer configurer) { // Set an individual initial size configurer->SetInitialSize(berry::Point(600,400)); wwAdvisor.reset(new berry::WorkbenchWindowAdvisor(configurer)); return wwAdvisor.data(); } std::string GetInitialWindowPerspectiveId() { return DEFAULT_PERSPECTIVE_ID; } private: QScopedPointer wwAdvisor; }; const std::string SelectionServiceMITKWorkbenchAdvisor::DEFAULT_PERSPECTIVE_ID = "org.mitk.example.extendedperspective"; -SelectionServiceMITK::SelectionServiceMITK() +SelectionServiceMitk::SelectionServiceMitk() { } -SelectionServiceMITK::~SelectionServiceMITK() +SelectionServiceMitk::~SelectionServiceMitk() { } -int SelectionServiceMITK::Start() +int SelectionServiceMitk::Start() { berry::Display* display = berry::PlatformUI::CreateDisplay(); wbAdvisor.reset(new SelectionServiceMITKWorkbenchAdvisor); int code = berry::PlatformUI::CreateAndRunWorkbench(display, wbAdvisor.data()); // exit the application with an appropriate return code return code == berry::PlatformUI::RETURN_RESTART ? EXIT_RESTART : EXIT_OK; } -void SelectionServiceMITK::Stop() +void SelectionServiceMitk::Stop() { } diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.h b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.h index a859bf50c6..3c063e8478 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.h +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/SelectionServiceMitk.h @@ -1,54 +1,54 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef SELECTIONSERVICEMITK_H_ #define SELECTIONSERVICEMITK_H_ // berry includes #include // Qt includes #include #include class SelectionServiceMITKWorkbenchAdvisor; /** * \ingroup org_mitk_example_gui_selectionservicemitk * * \brief This BlueBerry plugin is part of the BlueBerry example * "Selection service MITK". It creates a perspective with two views * that demonstrate the MitkDataNode-based selection service. */ -class SelectionServiceMITK : public QObject, public berry::IApplication +class SelectionServiceMitk : public QObject, public berry::IApplication { Q_OBJECT Q_INTERFACES(berry::IApplication) public: - SelectionServiceMITK(); - ~SelectionServiceMITK(); + SelectionServiceMitk(); + ~SelectionServiceMitk(); int Start(); void Stop(); private: QScopedPointer wbAdvisor; }; #endif /*SELECTIONSERVICEMITK_H_*/ diff --git a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/org_mitk_example_gui_selectionservicemitk_Activator.cpp b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/org_mitk_example_gui_selectionservicemitk_Activator.cpp index ef0004bf52..dd9ce20696 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/org_mitk_example_gui_selectionservicemitk_Activator.cpp +++ b/Examples/Plugins/org.mitk.example.gui.selectionservicemitk/src/internal/org_mitk_example_gui_selectionservicemitk_Activator.cpp @@ -1,42 +1,38 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "org_mitk_example_gui_selectionservicemitk_Activator.h" #include "SelectionServiceMitk.h" #include "ExtendedPerspective.h" -#include "ListenerViewMitk.h" -#include "SelectionViewMitk.h" #include void org_mitk_example_gui_selectionservicemitk_Activator::start(ctkPluginContext* context) { - BERRY_REGISTER_EXTENSION_CLASS(SelectionServiceMITK, context) - BERRY_REGISTER_EXTENSION_CLASS(ExtendedPerspective, context) - BERRY_REGISTER_EXTENSION_CLASS(ListenerViewMitk, context) - BERRY_REGISTER_EXTENSION_CLASS(SelectionViewMitk, context) + BERRY_REGISTER_EXTENSION_CLASS(SelectionServiceMitk, context) + BERRY_REGISTER_EXTENSION_CLASS(ExtendedPerspective, context) } void org_mitk_example_gui_selectionservicemitk_Activator::stop(ctkPluginContext* context) { Q_UNUSED(context) } Q_EXPORT_PLUGIN2(org_mitk_example_gui_selectionservicemitk, org_mitk_example_gui_selectionservicemitk_Activator) diff --git a/Examples/Plugins/org.mitk.example.gui.selectionserviceqt/manifest_headers.cmake b/Examples/Plugins/org.mitk.example.gui.selectionserviceqt/manifest_headers.cmake index 474ef4c352..8f4139d85a 100644 --- a/Examples/Plugins/org.mitk.example.gui.selectionserviceqt/manifest_headers.cmake +++ b/Examples/Plugins/org.mitk.example.gui.selectionserviceqt/manifest_headers.cmake @@ -1,8 +1,7 @@ set(Plugin-Name "MITK Example: Seletion service QT") set(Plugin-Version "1.0.0") set(Plugin-Vendor "DKFZ, Medical and Biological Informatics") set(Plugin-ContactAddress "http://www.mitk.org") set(Require-Plugin org.blueberry.ui.qt - org.mitk.gui.qt.common )