Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
WorkspacePresenter
WorkspaceProviderNotifiable.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2016 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
16
namespace
MantidQt
{
17
namespace
MantidWidgets {
18
19
class
WorkspaceProviderNotifiable
{
20
public
:
21
virtual
~WorkspaceProviderNotifiable
() =
default
;
22
23
enum class
Flag
{
24
WorkspaceLoaded
,
25
WorkspaceRenamed
,
26
WorkspaceDeleted
,
27
WorkspacesCleared
,
28
WorkspacesGrouped
,
29
WorkspacesUngrouped
,
30
WorkspaceGroupUpdated
,
31
GenericUpdateNotification
32
};
33
34
virtual
void
notifyFromWorkspaceProvider
(
Flag
flag) = 0;
35
};
36
37
}
// namespace MantidWidgets
38
}
// namespace MantidQt
MantidQt::MantidWidgets::WorkspaceProviderNotifiable
Definition:
WorkspaceProviderNotifiable.h:19
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag
Flag
Definition:
WorkspaceProviderNotifiable.h:23
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspacesCleared
@ WorkspacesCleared
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspaceRenamed
@ WorkspaceRenamed
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspacesGrouped
@ WorkspacesGrouped
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspaceGroupUpdated
@ WorkspaceGroupUpdated
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspaceDeleted
@ WorkspaceDeleted
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspacesUngrouped
@ WorkspacesUngrouped
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::GenericUpdateNotification
@ GenericUpdateNotification
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::Flag::WorkspaceLoaded
@ WorkspaceLoaded
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::notifyFromWorkspaceProvider
virtual void notifyFromWorkspaceProvider(Flag flag)=0
MantidQt::MantidWidgets::WorkspaceProviderNotifiable::~WorkspaceProviderNotifiable
virtual ~WorkspaceProviderNotifiable()=default
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5