14#include <unordered_map>
18namespace MantidWidgets {
48 ProjectSaveModel(
const std::vector<MantidQt::API::IProjectSerialisable *> &windows,
49 std::vector<std::string> activePythonInterfaces = std::vector<std::string>());
52 bool hasWindows(
const std::string &ws)
const;
54 std::vector<std::string> getWindowNames(
const std::vector<std::string> &wsNames)
const;
56 std::vector<std::string> getWorkspaceNames()
const;
58 std::vector<std::string> getAllPythonInterfaces()
const;
60 std::vector<WindowInfo> getWindowInformation(
const std::vector<std::string> &wsNames,
61 bool includeUnattached =
false)
const;
63 std::vector<WorkspaceInfo> getWorkspaceInformation()
const;
65 std::vector<MantidQt::API::IProjectSerialisable *> getWindows(
const std::string &wsName)
const;
67 std::vector<MantidQt::API::IProjectSerialisable *> getUniqueWindows(
const std::vector<std::string> &wsNames)
const;
69 std::vector<Mantid::API::Workspace_sptr> getWorkspaces()
const;
71 bool needsSizeWarning(
const std::vector<std::string> &wsNames);
73 virtual size_t getProjectSize(
const std::vector<std::string> &wsNames);
84 std::unordered_map<std::string, std::vector<MantidQt::API::IProjectSerialisable *>>
m_workspaceWindows;
#define EXPORT_OPT_MANTIDQT_COMMON
Defines an interface to a MantidPlot class that can be saved into or loaded from a project.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< const Workspace > Workspace_const_sptr
shared pointer to Mantid::API::Workspace (const version)