BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines the context to interact with the user regarding save/save-as/create-new project scenarious. More...
Public Types | |
using | answer_callback_t = std::function< SaveChangesAnswer()> |
using | create_dir_callback_t = std::function< std::string()> |
To ask the user what to do with modified project. More... | |
using | select_dir_callback_t = std::function< std::string()> |
To ask the user to create a new directory, returns full path to the directory. More... | |
Public Attributes | |
answer_callback_t | m_answer_callback |
create_dir_callback_t | m_create_dir_callback |
select_dir_callback_t | m_select_dir_callback |
Defines the context to interact with the user regarding save/save-as/create-new project scenarious.
Definition at line 48 of file project_types.h.
using ModelView::UserInteractionContext::answer_callback_t = std::function<SaveChangesAnswer()> |
Definition at line 56 of file project_types.h.
using ModelView::UserInteractionContext::create_dir_callback_t = std::function<std::string()> |
To ask the user what to do with modified project.
Definition at line 53 of file project_types.h.
using ModelView::UserInteractionContext::select_dir_callback_t = std::function<std::string()> |
To ask the user to create a new directory, returns full path to the directory.
Definition at line 50 of file project_types.h.
answer_callback_t ModelView::UserInteractionContext::m_answer_callback |
Definition at line 60 of file project_types.h.
Referenced by ModelView::ProjectManagerDecorator::ProjectManagerImpl::acquireSaveChangesAnswer().
create_dir_callback_t ModelView::UserInteractionContext::m_create_dir_callback |
Definition at line 59 of file project_types.h.
Referenced by ModelView::ProjectManagerDecorator::ProjectManagerImpl::acquireNewProjectDir().
select_dir_callback_t ModelView::UserInteractionContext::m_select_dir_callback |
Definition at line 58 of file project_types.h.
Referenced by ModelView::ProjectManagerDecorator::ProjectManagerImpl::acquireExistingProjectDir().