NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkNiftyMIDASWorkbenchAdvisor.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkNiftyMIDASWorkbenchAdvisor_h
16 #define niftkNiftyMIDASWorkbenchAdvisor_h
17 
18 #ifdef __MINGW32__
19 // We need to inlclude winbase.h here in order to declare
20 // atomic intrinsics like InterlockedIncrement correctly.
21 // Otherwhise, they would be declared wrong within qatomic_windows.h .
22 #include <windows.h>
23 #endif
24 
25 #include <uk_ac_ucl_cmic_niftymidas_Export.h>
26 
28 
29 
30 namespace niftk
31 {
32 
38 class NIFTYMIDAS_EXPORT NiftyMIDASWorkbenchAdvisor: public BaseWorkbenchAdvisor
39 {
40 public:
41 
43 
45  virtual QString GetInitialWindowPerspectiveId() override;
46 
48  virtual QString GetWindowIconResourcePath() const override;
49 
50  virtual void PostStartup() override;
51 
52 protected:
53 
57  virtual BaseWorkbenchWindowAdvisor* CreateBaseWorkbenchWindowAdvisor(
58  berry::IWorkbenchWindowConfigurer::Pointer configurer) override;
59 
60 };
61 
62 }
63 
64 #endif
BaseWorkbenchAdvisor Superclass
Definition: niftkNiftyMIDASWorkbenchAdvisor.h:42
Abstract advisor class to set up an initial workbench.
Definition: niftkBaseWorkbenchAdvisor.h:45
Definition: niftkBaseWorkbenchWindowAdvisor.h:31
Advisor class to set up the initial NiftyMIDAS workbench.
Definition: niftkNiftyMIDASWorkbenchAdvisor.h:38
Definition: niftkExceptionObject.h:21