NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::NiftyMIDASWorkbenchWindowAdvisor Class Reference

Advisor class to set up NiftyMIDAS windows on startup. More...

Inheritance diagram for niftk::NiftyMIDASWorkbenchWindowAdvisor:
Inheritance graph
[legend]
Collaboration diagram for niftk::NiftyMIDASWorkbenchWindowAdvisor:
Collaboration graph
[legend]

Public Member Functions

 NiftyMIDASWorkbenchWindowAdvisor (berry::WorkbenchAdvisor *wbAdvisor, berry::IWorkbenchWindowConfigurer::Pointer configurer)
 
virtual void PostWindowCreate () override
 We override BaseWorkbenchWindowAdvisor::PostWindowCreate to additionally provide an option to force the MITK display open with an environment variable called NIFTK_MITK_DISPLAY=ON. More...
 
- Public Member Functions inherited from niftk::BaseWorkbenchWindowAdvisor
 BaseWorkbenchWindowAdvisor (berry::WorkbenchAdvisor *wbAdvisor, berry::IWorkbenchWindowConfigurer::Pointer configurer)
 
virtual void PreWindowOpen () override
 We override the base class PreWindowOpen to specifically set QmitkExtWorkbenchWindowAdvisor::showVersionInfo and QmitkExtWorkbenchWindowAdvisor::showMitkVersionInfo to false. More...
 

Additional Inherited Members

- Public Slots inherited from niftk::BaseWorkbenchWindowAdvisor
void OnHelpAbout ()
 Opens the Help About dialog box. More...
 
- Protected Member Functions inherited from niftk::BaseWorkbenchWindowAdvisor
void OpenEditor (const QString &editorName)
 Directly tries to open the given editor: use sparingly. More...
 
void OpenEditorIfEnvironmentVariableIsON (const std::string &envVariable, const QString &editorName)
 Checks if the environment variable contains a string value "ON" or "1", and if so tries to open the given editor. More...
 

Detailed Description

Advisor class to set up NiftyMIDAS windows on startup.

See also
niftk::HelpAboutDialog

Constructor & Destructor Documentation

niftk::NiftyMIDASWorkbenchWindowAdvisor::NiftyMIDASWorkbenchWindowAdvisor ( berry::WorkbenchAdvisor *  wbAdvisor,
berry::IWorkbenchWindowConfigurer::Pointer  configurer 
)

Member Function Documentation

void niftk::NiftyMIDASWorkbenchWindowAdvisor::PostWindowCreate ( )
overridevirtual

We override BaseWorkbenchWindowAdvisor::PostWindowCreate to additionally provide an option to force the MITK display open with an environment variable called NIFTK_MITK_DISPLAY=ON.

Reimplemented from niftk::BaseWorkbenchWindowAdvisor.


The documentation for this class was generated from the following files: