17 : m_addObserver(*this, &
ADSAdapter::handleAddWorkspace),
18 m_replaceObserver(*this, &
ADSAdapter::handleReplaceWorkspace),
19 m_deleteObserver(*this, &
ADSAdapter::handleDeleteWorkspace),
20 m_clearADSObserver(*this, &
ADSAdapter::handleClearADS),
21 m_renameObserver(*this, &
ADSAdapter::handleRenameWorkspace),
22 m_groupworkspacesObserver(*this, &
ADSAdapter::handleGroupWorkspaces),
23 m_ungroupworkspaceObserver(*this, &
ADSAdapter::handleUnGroupWorkspace),
24 m_workspaceGroupUpdateObserver(*this, &
ADSAdapter::handleWorkspaceGroupUpdate) {
26 auto &nc = AnalysisDataService::Instance().notificationCenter;
39 auto &nc = AnalysisDataService::Instance().notificationCenter;
53 return AnalysisDataService::Instance().doesExist(wsname);
57 return AnalysisDataService::Instance().topLevelItems();
65 throw std::runtime_error(
"Unable to obtain reference to presenter");
const Poco::AutoPtr< Mantid::Kernel::DataService< Mantid::API::Workspace >::AfterReplaceNotification > & WorkspaceAfterReplaceNotification_ptr
const Poco::AutoPtr< Mantid::Kernel::DataService< Mantid::API::Workspace >::ClearNotification > & ClearADSNotification_ptr
const Poco::AutoPtr< AnalysisDataServiceImpl::GroupUpdatedNotification > & GroupUpdatedNotification_ptr
const Poco::AutoPtr< AnalysisDataServiceImpl::GroupWorkspacesNotification > & WorkspacesGroupedNotification_ptr
const Poco::AutoPtr< AnalysisDataServiceImpl::UnGroupingWorkspaceNotification > & WorkspaceUnGroupingNotification_ptr
const Poco::AutoPtr< Mantid::Kernel::DataService< Mantid::API::Workspace >::RenameNotification > & WorkspaceRenameNotification_ptr
const Poco::AutoPtr< Mantid::Kernel::DataService< Mantid::API::Workspace >::AddNotification > & WorkspaceAddNotification_ptr
const Poco::AutoPtr< Mantid::Kernel::DataService< Mantid::API::Workspace >::PostDeleteNotification > & WorkspacePostDeleteNotification_ptr