Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryWorkbenchPageTweaklet.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 
14 #ifndef BERRYWORKBENCHPAGETWEAKLET_H_
15 #define BERRYWORKBENCHPAGETWEAKLET_H_
16 
17 #include "internal/berryTweaklets.h"
18 #include "berryIWorkbenchPage.h"
19 
20 namespace berry
21 {
22 
24 {
25 
26  static Tweaklets::TweakKey<WorkbenchPageTweaklet> KEY;
27 
28  virtual QWidget* CreateClientComposite(QWidget* pageControl) = 0;
29  virtual QWidget* CreatePaneControl(QWidget* parent) = 0;
30 
31  virtual Object::Pointer CreateStatusPart(QWidget* parent, const QString& title, const QString& msg) = 0;
32  virtual IEditorPart::Pointer CreateErrorEditorPart(const QString& partName, const QString& msg) = 0;
33 
34 };
35 
36 }
37 
38 Q_DECLARE_INTERFACE(berry::WorkbenchPageTweaklet, "org.blueberry.WorkbenchPageTweaklet")
39 
40 #endif /* BERRYWORKBENCHPAGETWEAKLET_H_ */
berry::WorkbenchPageTweaklet
Definition: berryWorkbenchPageTweaklet.h:23
berry::WorkbenchPageTweaklet::KEY
static Tweaklets::TweakKey< WorkbenchPageTweaklet > KEY
Definition: berryWorkbenchPageTweaklet.h:26
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryIWorkbenchPage.h
berry
Definition: QmitkPropertyItemModel.h:24