Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIPartService.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYIPARTSERVICE_H_
14 #define BERRYIPARTSERVICE_H_
15 
17 
18 #include "berryIWorkbenchPart.h"
20 #include "berryIPartListener.h"
21 
22 namespace berry {
23 
36 
37  virtual ~IPartService();
38 
51  virtual void AddPartListener(IPartListener* listener) = 0;
52 
58  virtual IWorkbenchPart::Pointer GetActivePart() = 0;
59 
66  virtual IWorkbenchPartReference::Pointer GetActivePartReference() = 0;
67 
74  virtual void RemovePartListener(IPartListener* listener) = 0;
75 
76 };
77 
78 } // namespace berry
79 
80 Q_DECLARE_INTERFACE(berry::IPartService, "org.blueberry.ui.IPartService")
81 
82 #endif /*BERRYIPARTSERVICE_H_*/
berryIPartListener.h
org_blueberry_ui_qt_Export.h
berryIWorkbenchPartReference.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::IPartListener
Definition: berryIPartListener.h:34
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IPartService
Definition: berryIPartService.h:35
berryIWorkbenchPart.h
berry
Definition: QmitkPropertyItemModel.h:24