Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIPreferencesService.h>
Public Member Functions | |
virtual | ~IPreferencesService () |
virtual SmartPointer< IPreferences > | GetSystemPreferences ()=0 |
virtual SmartPointer< IPreferences > | GetUserPreferences (const QString &name)=0 |
virtual QStringList | GetUsers () const =0 |
The Preferences Service.
Each bundle using this service has its own set of preference trees: one for system preferences, and one for each user.
A PreferencesService
object is specific to the bundle which obtained it from the service registry. If a bundle wishes to allow another bundle to access its preferences, it should pass its PreferencesService
object to that bundle.
Definition at line 44 of file berryIPreferencesService.h.
|
virtual |
Definition at line 21 of file berryIPreferencesService.cpp.
|
pure virtual |
Returns the root system node for the calling bundle.
Referenced by QmitkDataManagerPreferencePage::CreateQtControl(), QmitkDataManagerHotkeysPrefPage::CreateQtControl(), QmitkMultiLabelSegmentationPreferencePage::CreateQtControl(), QmitkSegmentationPreferencePage::CreateQtControl(), QmitkDataManagerView::CreateQtPartControl(), QmitkAbstractRenderEditor::GetPreferences(), berry::AbstractUICTKPlugin::GetPreferences(), QmitkAbstractView::GetPreferences(), QmitkFunctionality::GetPreferences(), mitk::GetSimulationPreferences(), berry::QtWorkbenchAdvisor::Initialize(), mitk::WorkbenchUtil::LoadFiles(), QmitkExtWorkbenchWindowAdvisor::PostWindowCreate(), QmitkPreferencesDialog::SavePreferences(), and mitk::WorkbenchUtil::SetDepartmentLogoPreference().
|
pure virtual |
Returns the root node for the specified user and the calling bundle.
name | The user for which to return the preference root node. |
|
pure virtual |
Returns the names of users for which node trees exist.