Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkExtWorkbenchWindowAdvisor.h>
Protected Slots | |
virtual void | onIntro () |
virtual void | onHelp () |
virtual void | onHelpOpenHelpPerspective () |
virtual void | onAbout () |
Additional Inherited Members | |
Protected Member Functions inherited from berry::WorkbenchWindowAdvisor | |
SmartPointer< IWorkbenchWindowConfigurer > | GetWindowConfigurer () |
Definition at line 35 of file QmitkExtWorkbenchWindowAdvisor.h.
QmitkExtWorkbenchWindowAdvisor::QmitkExtWorkbenchWindowAdvisor | ( | berry::WorkbenchAdvisor * | wbAdvisor, |
berry::IWorkbenchWindowConfigurer::Pointer | configurer | ||
) |
Definition at line 404 of file QmitkExtWorkbenchWindowAdvisor.cpp.
QmitkExtWorkbenchWindowAdvisor::~QmitkExtWorkbenchWindowAdvisor | ( | ) |
Definition at line 424 of file QmitkExtWorkbenchWindowAdvisor.cpp.
|
overridevirtual |
Creates a new action bar advisor to configure the action bars of the window via the given action bar configurer. The default implementation returns a new instance of ActionBarAdvisor
.
configurer | the action bar configurer for the window |
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 428 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::WorkbenchWindowAdvisor::CreateActionBarAdvisor(), and USE_EXPERIMENTAL_COMMAND_CONTRIBUTIONS.
|
overridevirtual |
Creates and returns the control to be shown when the window has no open pages. If null
is returned, the default window background is shown.
The default implementation returns null
. Subclasses may override.
parent | the parent composite |
null
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 443 of file QmitkExtWorkbenchWindowAdvisor.cpp.
QList< QString > QmitkExtWorkbenchWindowAdvisor::GetPerspectiveExcludeList | ( | ) |
Definition at line 1344 of file QmitkExtWorkbenchWindowAdvisor.cpp.
bool QmitkExtWorkbenchWindowAdvisor::GetShowClosePerspectiveMenuItem | ( | ) |
Definition at line 460 of file QmitkExtWorkbenchWindowAdvisor.cpp.
bool QmitkExtWorkbenchWindowAdvisor::GetShowMemoryIndicator | ( | ) |
Definition at line 470 of file QmitkExtWorkbenchWindowAdvisor.cpp.
QList< QString > QmitkExtWorkbenchWindowAdvisor::GetViewExcludeList | ( | ) |
Definition at line 1354 of file QmitkExtWorkbenchWindowAdvisor.cpp.
|
protectedvirtualslot |
Definition at line 938 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 928 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 933 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 923 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
overridevirtual |
Performs arbitrary actions after the window is closed.
This method is called after the window's controls have been disposed. Clients must not call this method directly (although super calls are okay). The default implementation does nothing. Subclasses may override.
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 1359 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::WorkbenchWindowAdvisor::GetWindowConfigurer().
|
overridevirtual |
Performs arbitrary actions after the window has been created (possibly after being restored), but has not yet been opened.
This method is called after the window has been created from scratch, or when it has been restored from a previously-saved window. In the latter case, this method is called after PostWindowRestore()
. Clients must not call this method directly (although super calls are okay). The default implementation does nothing. Subclasses may override.
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 515 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::IPerspectiveRegistry::GetPerspectives(), berry::Platform::GetPreferencesService(), berry::IPreferencesService::GetSystemPreferences(), berry::IWorkbench::GetViewRegistry(), berry::IViewRegistry::GetViews(), berry::WorkbenchWindowAdvisor::GetWindowConfigurer(), berry::PlatformUI::GetWorkbench(), onAbout(), onHelp(), onHelpOpenHelpPerspective(), onIntro(), PartListenerForImageNavigator, PartListenerForViewNavigator, perspectives, berry::QtPreferences::QT_ICON_THEME, berry::QtPreferences::QT_STYLES_NODE, and USE_EXPERIMENTAL_COMMAND_CONTRIBUTIONS.
|
overridevirtual |
Performs arbitrary actions after the window has been opened (possibly after being restored).
This method is called after the window has been opened. This method is called after the window has been created from scratch, or when it has been restored from a previously-saved window. Clients must not call this method directly (although super calls are okay). The default implementation does nothing. Subclasses may override.
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 903 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References mitk::IDataStorageService::GetDataStorage(), berry::WorkbenchWindowAdvisor::GetWindowConfigurer(), mitk::WorkbenchUtil::OpenEditor(), and berry::WorkbenchWindowAdvisor::PostWindowOpen().
|
overridevirtual |
Performs arbitrary actions before the window is opened.
This method is called before the window's controls have been created. Clients must not call this method directly (although super calls are okay). The default implementation does nothing. Subclasses may override. Typical clients will use the window configurer to tweak the workbench window in an application-specific way; however, filling the window's menu bar, tool bar, and status line must be done in ActionBarAdvisor::FillActionBars()
, which is called immediately after this method is called.
Reimplemented from berry::WorkbenchWindowAdvisor.
Definition at line 876 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::WorkbenchWindowAdvisor::GetWindowConfigurer(), and PerspectiveListenerForMenu.
void QmitkExtWorkbenchWindowAdvisor::SetPerspectiveExcludeList | ( | const QList< QString > & | v | ) |
Definition at line 1339 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::SetProductName | ( | const QString & | product | ) |
Definition at line 505 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::SetViewExcludeList | ( | const QList< QString > & | v | ) |
Definition at line 1349 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::SetWindowIcon | ( | const QString & | wndIcon | ) |
Definition at line 510 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowClosePerspectiveMenuItem | ( | bool | show | ) |
Definition at line 455 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowMemoryIndicator | ( | bool | show | ) |
Definition at line 465 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowMitkVersionInfo | ( | bool | show | ) |
Definition at line 500 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowNewWindowMenuItem | ( | bool | show | ) |
Definition at line 475 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowPerspectiveToolbar | ( | bool | show | ) |
Definition at line 490 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowVersionInfo | ( | bool | show | ) |
Definition at line 495 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowViewMenuItem | ( | bool | show | ) |
Definition at line 485 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().
void QmitkExtWorkbenchWindowAdvisor::ShowViewToolbar | ( | bool | show | ) |
Definition at line 480 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by QmitkDiffusionImagingAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor().