text: /*===================================================================
  
  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_gui_qt_dosevisualization_Activator.h"
  #include "RTDoseVisualizer.h"
  #include "RTUIPreferencePage.h"
  #include "DoseVisualizationPreferencePage.h"
  
  namespace mitk {
  
    ctkPluginContext* org_mitk_gui_qt_dosevisualization_Activator::m_Context = 0;
  
    void org_mitk_gui_qt_dosevisualization_Activator::start(ctkPluginContext* context)
    {
      BERRY_REGISTER_EXTENSION_CLASS(RTDoseVisualizer, context);
      BERRY_REGISTER_EXTENSION_CLASS(RTUIPreferencePage, context)
      BERRY_REGISTER_EXTENSION_CLASS(DoseVisualizationPreferencePage, context)
  
        m_Context = context;
    }
  
    void org_mitk_gui_qt_dosevisualization_Activator::stop(ctkPluginContext* context)
    {
      Q_UNUSED(context);
  
      m_Context = nullptr;
    }
  
    ctkPluginContext* org_mitk_gui_qt_dosevisualization_Activator::GetContext()
    {
      return m_Context;
    }
  
  }
  