diff --git a/Documentation/Doxygen/2-UserManual/MITKPluginManualsList.dox b/Documentation/Doxygen/2-UserManual/MITKPluginManualsList.dox index c88ccbdd80..615bef9dad 100644 --- a/Documentation/Doxygen/2-UserManual/MITKPluginManualsList.dox +++ b/Documentation/Doxygen/2-UserManual/MITKPluginManualsList.dox @@ -1,71 +1,70 @@ /** \page PluginListPage MITK Plugin Manuals The plugins and bundles provide much of the extended functionality of MITK. Each encapsulates a solution to a problem and associated features. This way one can easily assemble the necessary capabilites for a workflow without adding a lot of bloat, by combining plugins as needed. */ diff --git a/Plugins/PluginList.cmake b/Plugins/PluginList.cmake index 739b09c154..7671f16281 100644 --- a/Plugins/PluginList.cmake +++ b/Plugins/PluginList.cmake @@ -1,80 +1,79 @@ # Plug-ins must be ordered according to their dependencies set(MITK_PLUGINS org.blueberry.core.runtime:ON org.blueberry.core.expressions:OFF org.blueberry.core.commands:OFF org.blueberry.core.jobs:OFF org.blueberry.ui.qt:OFF org.blueberry.ui.qt.help:ON org.blueberry.ui.qt.log:ON org.blueberry.ui.qt.objectinspector:OFF org.mitk.core.services:ON org.mitk.gui.common:ON org.mitk.core.jobs:OFF org.mitk.gui.qt.application:ON org.mitk.gui.qt.ext:OFF org.mitk.gui.qt.extapplication:OFF org.mitk.gui.qt.mitkworkbench.intro:OFF org.mitk.gui.qt.common:ON org.mitk.gui.qt.stdmultiwidgeteditor:ON org.mitk.gui.qt.mxnmultiwidgeteditor:OFF org.mitk.gui.qt.chartExample:OFF org.mitk.gui.qt.datamanager:ON org.mitk.gui.qt.datamanagerlight:OFF org.mitk.gui.qt.datastorageviewertest:OFF org.mitk.gui.qt.properties:ON org.mitk.gui.qt.basicimageprocessing:OFF org.mitk.gui.qt.dicombrowser:OFF org.mitk.gui.qt.dicominspector:OFF org.mitk.gui.qt.dosevisualization:OFF org.mitk.gui.qt.igtexamples:OFF org.mitk.gui.qt.igttracking:OFF org.mitk.gui.qt.openigtlink:OFF org.mitk.gui.qt.imagecropper:OFF org.mitk.gui.qt.imagenavigator:ON org.mitk.gui.qt.viewnavigator:OFF - org.mitk.gui.qt.materialeditor:OFF org.mitk.gui.qt.measurementtoolbox:OFF org.mitk.gui.qt.moviemaker:OFF org.mitk.gui.qt.pointsetinteraction:OFF org.mitk.gui.qt.pointsetinteractionmultispectrum:OFF org.mitk.gui.qt.python:OFF org.mitk.gui.qt.remeshing:OFF org.mitk.gui.qt.segmentation:OFF org.mitk.gui.qt.aicpregistration:OFF org.mitk.gui.qt.renderwindowmanager:OFF org.mitk.gui.qt.toftutorial:OFF org.mitk.gui.qt.tofutil:OFF org.mitk.gui.qt.ugvisualization:OFF org.mitk.gui.qt.ultrasound:OFF org.mitk.gui.qt.volumevisualization:OFF org.mitk.gui.qt.eventrecorder:OFF org.mitk.gui.qt.xnat:OFF org.mitk.gui.qt.igt.app.ultrasoundtrackingnavigation:OFF org.mitk.gui.qt.overlaymanager:OFF org.mitk.gui.qt.igt.app.hummelprotocolmeasurements:OFF org.mitk.matchpoint.core.helper:OFF org.mitk.gui.qt.matchpoint.algorithm.browser:OFF org.mitk.gui.qt.matchpoint.algorithm.control:OFF org.mitk.gui.qt.matchpoint.mapper:OFF org.mitk.gui.qt.matchpoint.framereg:OFF org.mitk.gui.qt.matchpoint.visualizer:OFF org.mitk.gui.qt.matchpoint.evaluator:OFF org.mitk.gui.qt.matchpoint.manipulator:OFF org.mitk.gui.qt.preprocessing.resampling:OFF org.mitk.gui.qt.cest:OFF org.mitk.gui.qt.fit.demo:OFF org.mitk.gui.qt.fit.inspector:OFF org.mitk.gui.qt.fit.genericfitting:OFF org.mitk.gui.qt.pharmacokinetics.concentration.mri:OFF org.mitk.gui.qt.pharmacokinetics.curvedescriptor:OFF org.mitk.gui.qt.pharmacokinetics.mri:OFF org.mitk.gui.qt.pharmacokinetics.pet:OFF org.mitk.gui.qt.pharmacokinetics.simulation:OFF org.mitk.gui.qt.flowapplication:OFF org.mitk.gui.qt.flow.segmentation:OFF org.mitk.gui.qt.pixelvalue:ON ) diff --git a/Plugins/org.mitk.gui.qt.materialeditor/CMakeLists.txt b/Plugins/org.mitk.gui.qt.materialeditor/CMakeLists.txt deleted file mode 100644 index b8f112a380..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The project name must correspond to the directory name of your plug-in -# and must not contain periods. -project(org_mitk_gui_qt_materialeditor) - -mitk_create_plugin( - EXPORT_DIRECTIVE MATERIALEDITOR_EXPORTS - EXPORTED_INCLUDE_SUFFIXES src - MODULE_DEPENDS MitkQtWidgets -) diff --git a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor.dox b/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor.dox deleted file mode 100644 index 1a6935a94d..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor.dox +++ /dev/null @@ -1,10 +0,0 @@ -/** -\page org_surfacematerialeditor The Surface Material Editor - -\imageMacro{QmitkSurfaceMaterialEditor_Icon.png,"Icon of the Surface Material Editor",2.00} - -The Surface Material Editor shows the properties of the selected data that are relevant for the selected shader. These properties can be filtered to find a specific property. The preview window shows the representation of a neutral 3D object with the currently selected settings. - -\imageMacro{QmitkSurfaceMaterialEditor_Gui.png,"The Surface Material Editor",10.92} - -*/ \ No newline at end of file diff --git a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Gui.png b/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Gui.png deleted file mode 100644 index 9b81744250..0000000000 Binary files a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Gui.png and /dev/null differ diff --git a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Icon.png b/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Icon.png deleted file mode 100644 index 9a660225a5..0000000000 Binary files a/Plugins/org.mitk.gui.qt.materialeditor/documentation/UserManual/QmitkSurfaceMaterialEditor_Icon.png and /dev/null differ diff --git a/Plugins/org.mitk.gui.qt.materialeditor/documentation/doxygen/modules.dox b/Plugins/org.mitk.gui.qt.materialeditor/documentation/doxygen/modules.dox deleted file mode 100644 index 34c292bcfe..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/documentation/doxygen/modules.dox +++ /dev/null @@ -1,16 +0,0 @@ -/** - \defgroup org_mitk_gui_qt_materialeditor org.mitk.gui.qt.materialeditor - \ingroup MITKPlugins - - \brief Describe your plugin here. - -*/ - -/** - \defgroup org_mitk_gui_qt_materialeditor_internal Internal - \ingroup org_mitk_gui_qt_materialeditor - - \brief This subcategory includes the internal classes of the org.mitk.gui.qt.materialeditor 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/Plugins/org.mitk.gui.qt.materialeditor/files.cmake b/Plugins/org.mitk.gui.qt.materialeditor/files.cmake deleted file mode 100644 index 81413caeb9..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/files.cmake +++ /dev/null @@ -1,34 +0,0 @@ -set(SRC_CPP_FILES - -) - -set(INTERNAL_CPP_FILES - QmitkMITKSurfaceMaterialEditorView.cpp - mitkMaterialEditorPluginActivator.cpp -) - -set(UI_FILES - src/internal/QmitkMITKSurfaceMaterialEditorViewControls.ui -) - -set(MOC_H_FILES - src/internal/QmitkMITKSurfaceMaterialEditorView.h - src/internal/mitkMaterialEditorPluginActivator.h -) - -set(CACHED_RESOURCE_FILES - resources/SurfaceMaterialEditor.png - plugin.xml -) - -set(QRC_FILES - resources/QmitkMITKSurfaceMaterialEditorView.qrc -) - -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}) \ No newline at end of file diff --git a/Plugins/org.mitk.gui.qt.materialeditor/manifest_headers.cmake b/Plugins/org.mitk.gui.qt.materialeditor/manifest_headers.cmake deleted file mode 100644 index a76fffae0a..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/manifest_headers.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(Plugin-Name "MITK Material Editor") -set(Plugin-Version "0.9") -set(Plugin-Vendor "German Cancer Research Center (DKFZ)") -set(Plugin-ContactAddress "https://www.mitk.org") -set(Require-Plugin org.mitk.gui.qt.common) diff --git a/Plugins/org.mitk.gui.qt.materialeditor/plugin.xml b/Plugins/org.mitk.gui.qt.materialeditor/plugin.xml deleted file mode 100644 index 2046abdd81..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/plugin.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - diff --git a/Plugins/org.mitk.gui.qt.materialeditor/resources/QmitkMITKSurfaceMaterialEditorView.qrc b/Plugins/org.mitk.gui.qt.materialeditor/resources/QmitkMITKSurfaceMaterialEditorView.qrc deleted file mode 100644 index b8caba7494..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/resources/QmitkMITKSurfaceMaterialEditorView.qrc +++ /dev/null @@ -1,5 +0,0 @@ - - - SurfaceMaterialEditor.png - - diff --git a/Plugins/org.mitk.gui.qt.materialeditor/resources/SurfaceMaterialEditor.png b/Plugins/org.mitk.gui.qt.materialeditor/resources/SurfaceMaterialEditor.png deleted file mode 100644 index 9a660225a5..0000000000 Binary files a/Plugins/org.mitk.gui.qt.materialeditor/resources/SurfaceMaterialEditor.png and /dev/null differ diff --git a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.cpp b/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.cpp deleted file mode 100644 index c9771ad3a3..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.cpp +++ /dev/null @@ -1,240 +0,0 @@ -/*============================================================================ - -The Medical Imaging Interaction Toolkit (MITK) - -Copyright (c) German Cancer Research Center (DKFZ) -All rights reserved. - -Use of this source code is governed by a 3-clause BSD license that can be -found in the LICENSE file. - -============================================================================*/ - -#include "QmitkMITKSurfaceMaterialEditorView.h" - -#include "mitkBaseRenderer.h" -#include "mitkNodePredicateDataType.h" -#include "mitkProperties.h" -#include "mitkIDataStorageService.h" -#include "mitkDataNodeObject.h" - -#include "berryIEditorPart.h" -#include "berryIWorkbenchPage.h" - -#include "QmitkDataStorageComboBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include - -#include "mitkStandaloneDataStorage.h" - - - -const std::string QmitkMITKSurfaceMaterialEditorView::VIEW_ID = "org.mitk.views.mitksurfacematerialeditor"; - -QmitkMITKSurfaceMaterialEditorView::QmitkMITKSurfaceMaterialEditorView() -: QmitkAbstractView(), - m_Controls(nullptr) -{ - fixedProperties.push_back( "shader" ); - fixedProperties.push_back( "material.representation" ); - fixedProperties.push_back( "color" ); - fixedProperties.push_back( "opacity" ); - fixedProperties.push_back( "material.wireframeLineWidth" ); - - fixedProperties.push_back( "material.ambientCoefficient" ); - fixedProperties.push_back( "material.diffuseCoefficient" ); - fixedProperties.push_back( "material.ambientColor" ); - fixedProperties.push_back( "material.diffuseColor" ); - fixedProperties.push_back( "material.specularColor" ); - fixedProperties.push_back( "material.specularCoefficient" ); - fixedProperties.push_back( "material.specularPower" ); - fixedProperties.push_back( "material.interpolation" ); - - shaderProperties.push_back( "shader" ); - shaderProperties.push_back( "material.representation" ); - shaderProperties.push_back( "color" ); - shaderProperties.push_back( "opacity" ); - shaderProperties.push_back( "material.wireframeLineWidth" ); - - observerAllocated = false; -} - -QmitkMITKSurfaceMaterialEditorView::~QmitkMITKSurfaceMaterialEditorView() -{ -} - -void QmitkMITKSurfaceMaterialEditorView::InitPreviewWindow() -{ - usedTimer=0; - - vtkSphereSource* sphereSource = vtkSphereSource::New(); - sphereSource->SetThetaResolution(25); - sphereSource->SetPhiResolution(25); - sphereSource->Update(); - - vtkPolyData* sphere = sphereSource->GetOutput(); - - m_Surface = mitk::Surface::New(); - m_Surface->SetVtkPolyData( sphere ); - - m_DataNode = mitk::DataNode::New(); - m_DataNode->SetData( m_Surface ); - - m_DataTree = mitk::StandaloneDataStorage::New(); - - m_DataTree->Add( m_DataNode , (mitk::DataNode *)nullptr ); - - m_Controls->m_PreviewRenderWindow->GetRenderer()->SetDataStorage( m_DataTree ); - m_Controls->m_PreviewRenderWindow->GetRenderer()->SetMapperID( mitk::BaseRenderer::Standard3D ); - - sphereSource->Delete(); -} - - -void QmitkMITKSurfaceMaterialEditorView::RefreshPropertiesList() -{ - mitk::DataNode* SrcND = m_SelectedDataNode; - mitk::DataNode* DstND = m_DataNode; - - mitk::PropertyList* DstPL = DstND->GetPropertyList(); - - - m_Controls->m_ShaderPropertyList->SetPropertyList( nullptr ); - - DstPL->Clear(); - - if(observerAllocated) - { - observerAllocated=false; - } - - if(SrcND) - { - mitk::PropertyList* SrcPL = SrcND->GetPropertyList(); - - std::string shaderState = "fixed"; - -// if(shaderEnum.IsNotNull()) -// { -// shaderState = shaderEnum->GetValueAsString(); - -// itk::MemberCommand::Pointer propertyModifiedCommand = itk::MemberCommand::New(); -// propertyModifiedCommand->SetCallbackFunction(this, &QmitkMITKSurfaceMaterialEditorView::shaderEnumChange); -// observerIndex = shaderEnum->AddObserver(itk::ModifiedEvent(), propertyModifiedCommand); -// observedProperty = shaderEnum; -// observerAllocated=true; -// } - - MITK_INFO << "PROPERTIES SCAN BEGIN"; - - for(mitk::PropertyList::PropertyMap::const_iterator it=SrcPL->GetMap()->begin(); it!=SrcPL->GetMap()->end(); it++) - { - std::string name=it->first; - mitk::BaseProperty *p=it->second; - - // MITK_INFO << "property '" << name << "' found"; - - if(shaderState.compare("fixed")==0) - { - if(std::find(fixedProperties.begin(), fixedProperties.end(), name) != fixedProperties.end()) - { - DstPL->SetProperty(name,p); - } - } - else - { - //if(std::find(shaderProperties.begin(), shaderProperties.end(), name) != shaderProperties.end()) - { - DstPL->SetProperty(name,p); - } - } - } - - MITK_INFO << "PROPERTIES SCAN END"; - } - - m_Controls->m_ShaderPropertyList->SetPropertyList( DstPL ); - //m_Controls->m_PreviewRenderWindow->GetRenderer()->GetVtkRenderer()->ResetCameraClippingRange(); -} - -void QmitkMITKSurfaceMaterialEditorView::CreateQtPartControl(QWidget *parent) -{ - if (!m_Controls) - { - // create GUI widgets - m_Controls = new Ui::QmitkMITKSurfaceMaterialEditorViewControls; - m_Controls->setupUi(parent); - this->CreateConnections(); - - InitPreviewWindow(); - RefreshPropertiesList(); - - } -} - -void QmitkMITKSurfaceMaterialEditorView::SetFocus() -{ - m_Controls->m_ShaderPropertyList->setFocus(); -} - -void QmitkMITKSurfaceMaterialEditorView::CreateConnections() -{ -} - -void QmitkMITKSurfaceMaterialEditorView::OnSelectionChanged(berry::IWorkbenchPart::Pointer /*part*/, const QList& nodes) -{ - if(!nodes.empty()) - { - m_SelectedDataNode = nodes.at(0); - MITK_INFO << "Node '" << m_SelectedDataNode->GetName() << "' selected"; - SurfaceSelected(); - } -} - -void QmitkMITKSurfaceMaterialEditorView::SurfaceSelected() -{ - postRefresh(); -} - -void QmitkMITKSurfaceMaterialEditorView::shaderEnumChange(const itk::Object * /*caller*/, const itk::EventObject & /*event*/) -{ - postRefresh(); -} - -void QmitkMITKSurfaceMaterialEditorView::postRefresh() -{ - if(usedTimer) - return; - - usedTimer=startTimer(0); -} - -void QmitkMITKSurfaceMaterialEditorView::timerEvent( QTimerEvent *e ) -{ - if(usedTimer!=e->timerId()) - { - MITK_ERROR << "INTERNAL ERROR: usedTimer[" << usedTimer << "] != timerId[" << e->timerId() << "]"; - } - - if(usedTimer) - { - killTimer(usedTimer); - usedTimer=0; - } - - RefreshPropertiesList(); -} diff --git a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.h b/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.h deleted file mode 100644 index e6429f6276..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorView.h +++ /dev/null @@ -1,108 +0,0 @@ -/*============================================================================ - -The Medical Imaging Interaction Toolkit (MITK) - -Copyright (c) German Cancer Research Center (DKFZ) -All rights reserved. - -Use of this source code is governed by a 3-clause BSD license that can be -found in the LICENSE file. - -============================================================================*/ - -#ifndef QmitkMITKSurfaceMaterialEditorView_h -#define QmitkMITKSurfaceMaterialEditorView_h - -#include -#include -#include - -#include "ui_QmitkMITKSurfaceMaterialEditorViewControls.h" - -/* -#include -#include -#include -#include -#include -#include -#include "QtGui/QMenubarUpdatedEvent" -*/ - -#include "QmitkRenderWindow.h" -#include "mitkCommon.h" -#include "mitkDataStorage.h" -#include "mitkDataNode.h" -#include "mitkSurface.h" -#include "vtkRenderer.h" -#include "vtkTextActor.h" - -/*! - - \brief QmitkMITKSurfaceMaterialEditorView -*/ -class QmitkMITKSurfaceMaterialEditorView : public QmitkAbstractView -{ - - // this is needed for all Qt objects that should have a MOC object (everything that derives from QObject) - Q_OBJECT - - public: - - static const std::string VIEW_ID; - - QmitkMITKSurfaceMaterialEditorView(); - ~QmitkMITKSurfaceMaterialEditorView() override; - - void CreateQtPartControl(QWidget *parent) override; - - /// \brief Creation of the connections of main and control widget - virtual void CreateConnections(); - - /// - /// Sets the focus to an internal widget. - /// - void SetFocus() override; - - void OnSelectionChanged(berry::IWorkbenchPart::Pointer part, const QList& nodes) override; - -protected slots: - - void SurfaceSelected(); - -protected: - - Ui::QmitkMITKSurfaceMaterialEditorViewControls* m_Controls; - -private: - - mitk::Surface::Pointer m_Surface; - mitk::DataStorage::Pointer m_DataTree; - mitk::DataNode::Pointer m_DataNode; - mitk::DataNode::Pointer m_SelectedDataNode; - - std::list fixedProperties; - std::list shaderProperties; - - unsigned long observerIndex; - bool observerAllocated; - - void InitPreviewWindow(); - - int usedTimer; - - void timerEvent( QTimerEvent *e ) override; - - void RefreshPropertiesList(); - - void postRefresh(); - - void shaderEnumChange(const itk::Object *caller, const itk::EventObject &event); - - berry::IStructuredSelection::ConstPointer m_CurrentSelection; -}; - - - - -#endif diff --git a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorViewControls.ui b/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorViewControls.ui deleted file mode 100644 index ffd4094926..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/QmitkMITKSurfaceMaterialEditorViewControls.ui +++ /dev/null @@ -1,74 +0,0 @@ - - - QmitkMITKSurfaceMaterialEditorViewControls - - - - 0 - 0 - 240 - 794 - - - - - 0 - 0 - - - - QmitkTemplate - - - - - - Preview - - - - - - - 0 - 0 - - - - - - - - - - - Properties - - - - - - - - - - - - - - QmitkRenderWindow - QListView -
QmitkRenderWindow.h
-
- - QmitkPropertiesTableEditor - QListView -
QmitkPropertiesTableEditor.h
-
-
- - QmitkDataStorageComboBox.h - - - -
diff --git a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.cpp b/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.cpp deleted file mode 100644 index 48baa722c6..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/*============================================================================ - -The Medical Imaging Interaction Toolkit (MITK) - -Copyright (c) German Cancer Research Center (DKFZ) -All rights reserved. - -Use of this source code is governed by a 3-clause BSD license that can be -found in the LICENSE file. - -============================================================================*/ - -#include "mitkMaterialEditorPluginActivator.h" -#include "QmitkMITKSurfaceMaterialEditorView.h" - -namespace mitk { - - void MaterialEditorPluginActivator::start(ctkPluginContext* context) - { - BERRY_REGISTER_EXTENSION_CLASS(QmitkMITKSurfaceMaterialEditorView, context) - } - - void MaterialEditorPluginActivator::stop(ctkPluginContext* context) - { - Q_UNUSED(context) - } - -} diff --git a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.h b/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.h deleted file mode 100644 index 49fb414956..0000000000 --- a/Plugins/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.h +++ /dev/null @@ -1,35 +0,0 @@ -/*============================================================================ - -The Medical Imaging Interaction Toolkit (MITK) - -Copyright (c) German Cancer Research Center (DKFZ) -All rights reserved. - -Use of this source code is governed by a 3-clause BSD license that can be -found in the LICENSE file. - -============================================================================*/ -#ifndef mitkMaterialEditorPluginActivator_h -#define mitkMaterialEditorPluginActivator_h - -#include - -namespace mitk { - - class MaterialEditorPluginActivator : - public QObject, public ctkPluginActivator - { - Q_OBJECT - Q_PLUGIN_METADATA(IID "org_mitk_gui_qt_materialeditor") - Q_INTERFACES(ctkPluginActivator) - - public: - - void start(ctkPluginContext* context) override; - void stop(ctkPluginContext* context) override; - - }; // MaterialEditorPluginActivator - -} - -#endif