Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryWorkbenchPageTweaklet.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYWORKBENCHPAGETWEAKLET_H_
19 #define BERRYWORKBENCHPAGETWEAKLET_H_
20 
21 #include "internal/berryTweaklets.h"
22 #include "berryIWorkbenchPage.h"
23 
24 namespace berry
25 {
26 
28 {
29 
30  static Tweaklets::TweakKey<WorkbenchPageTweaklet> KEY;
31 
32  virtual QWidget* CreateClientComposite(QWidget* pageControl) = 0;
33  virtual QWidget* CreatePaneControl(QWidget* parent) = 0;
34 
35  virtual Object::Pointer CreateStatusPart(QWidget* parent, const QString& title, const QString& msg) = 0;
36  virtual IEditorPart::Pointer CreateErrorEditorPart(const QString& partName, const QString& msg) = 0;
37 
38 };
39 
40 }
41 
42 Q_DECLARE_INTERFACE(berry::WorkbenchPageTweaklet, "org.blueberry.WorkbenchPageTweaklet")
43 
44 #endif /* BERRYWORKBENCHPAGETWEAKLET_H_ */
static Tweaklets::TweakKey< WorkbenchPageTweaklet > KEY
#define BERRY_UI_QT