Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryISelectionChangedListener.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 BERRYISELECTIONCHANGEDLISTENER_H_
14 #define BERRYISELECTIONCHANGEDLISTENER_H_
15 
17 
18 #include <berryMacros.h>
19 #include <berryMessage.h>
20 
22 
23 namespace berry
24 {
25 
26 class SelectionChangedEvent;
27 
38 {
39 
41 
43 
44  void AddListener(ISelectionChangedListener* listener);
45  void RemoveListener(ISelectionChangedListener* listener);
46 
47  private:
48 
50  };
51 
52  virtual ~ISelectionChangedListener();
53 
59  virtual void SelectionChanged(const SelectionChangedEvent::Pointer& event) = 0;
60 };
61 
62 }
63 
64 #endif /*BERRYISELECTIONCHANGEDLISTENER_H_*/
berry::ISelectionChangedListener::Events::selectionChanged
Message1< const SelectionChangedEvent::Pointer & > selectionChanged
Definition: berryISelectionChangedListener.h:42
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::ISelectionChangedListener::Events
Definition: berryISelectionChangedListener.h:40
berryMessage.h
berry::Message1< const SelectionChangedEvent::Pointer & >
berry::MessageDelegate1
Definition: berryMessage.h:170
berry::ISelectionChangedListener
Definition: berryISelectionChangedListener.h:37
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berrySelectionChangedEvent.h
berry
Definition: QmitkPropertyItemModel.h:24