Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <QmitkExtWorkbenchWindowAdvisor.h>
Protected Slots | |
virtual void | onIntro () |
virtual void | onHelp () |
virtual void | onHelpOpenHelpPerspective () |
virtual void | onAbout () |
Additional Inherited Members | |
![]() | |
SmartPointer< IWorkbenchWindowConfigurer > | GetWindowConfigurer () |
Definition at line 31 of file QmitkExtWorkbenchWindowAdvisor.h.
QmitkExtWorkbenchWindowAdvisor::QmitkExtWorkbenchWindowAdvisor | ( | berry::WorkbenchAdvisor * | wbAdvisor, |
berry::IWorkbenchWindowConfigurer::Pointer | configurer | ||
) |
Definition at line 424 of file QmitkExtWorkbenchWindowAdvisor.cpp.
|
override |
Definition at line 444 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 448 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 461 of file QmitkExtWorkbenchWindowAdvisor.cpp.
QList< QString > QmitkExtWorkbenchWindowAdvisor::GetPerspectiveExcludeList | ( | ) |
Definition at line 1398 of file QmitkExtWorkbenchWindowAdvisor.cpp.
bool QmitkExtWorkbenchWindowAdvisor::GetShowClosePerspectiveMenuItem | ( | ) |
Definition at line 478 of file QmitkExtWorkbenchWindowAdvisor.cpp.
bool QmitkExtWorkbenchWindowAdvisor::GetShowMemoryIndicator | ( | ) |
Definition at line 488 of file QmitkExtWorkbenchWindowAdvisor.cpp.
QList< QString > QmitkExtWorkbenchWindowAdvisor::GetViewExcludeList | ( | ) |
Definition at line 1408 of file QmitkExtWorkbenchWindowAdvisor.cpp.
|
protectedvirtualslot |
Definition at line 996 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References mitk::UndoController::GetCurrentUndoModel(), MITK_ERROR, MITK_INFO, mitk::UndoModel::Redo(), and mitk::UndoModel::Undo().
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 986 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 991 of file QmitkExtWorkbenchWindowAdvisor.cpp.
Referenced by PostWindowCreate().
|
protectedvirtualslot |
Definition at line 981 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 1413 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 533 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::WorkbenchPlugin::GetDefault(), berry::IPerspectiveRegistry::GetPerspectives(), berry::AbstractUICTKPlugin::GetPreferencesService(), berry::IWorkbench::GetViewRegistry(), berry::IViewRegistry::GetViews(), berry::WorkbenchWindowAdvisor::GetWindowConfigurer(), berry::PlatformUI::GetWorkbench(), onAbout(), onHelp(), onHelpOpenHelpPerspective(), onIntro(), PartListenerForImageNavigator, PartListenerForViewNavigator, perspectives, berry::QtPreferences::QT_SHOW_TOOLBAR_CATEGORY_NAMES, berry::QtPreferences::QT_STYLES_NODE, berry::QtStyleManager::ThemeIcon(), 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 961 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 934 of file QmitkExtWorkbenchWindowAdvisor.cpp.
References berry::WorkbenchWindowAdvisor::GetWindowConfigurer(), and PerspectiveListenerForMenu.
void QmitkExtWorkbenchWindowAdvisor::SetPerspectiveExcludeList | ( | const QList< QString > & | v | ) |
Definition at line 1393 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::SetProductName | ( | const QString & | product | ) |
Definition at line 523 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::SetViewExcludeList | ( | const QList< QString > & | v | ) |
Definition at line 1403 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::SetWindowIcon | ( | const QString & | wndIcon | ) |
Definition at line 528 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowClosePerspectiveMenuItem | ( | bool | show | ) |
Definition at line 473 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowMemoryIndicator | ( | bool | show | ) |
Definition at line 483 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowMitkVersionInfo | ( | bool | show | ) |
Definition at line 518 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowNewWindowMenuItem | ( | bool | show | ) |
Definition at line 493 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowPerspectiveToolbar | ( | bool | show | ) |
Definition at line 508 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowVersionInfo | ( | bool | show | ) |
Definition at line 513 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowViewMenuItem | ( | bool | show | ) |
Definition at line 503 of file QmitkExtWorkbenchWindowAdvisor.cpp.
void QmitkExtWorkbenchWindowAdvisor::ShowViewToolbar | ( | bool | show | ) |
Definition at line 498 of file QmitkExtWorkbenchWindowAdvisor.cpp.