Go to the documentation of this file.Go to the SVN repository for this file.
51 vector<CIRef<IProjectView>> views;
54 for (
auto& it : views) {
56 if (!viewType.empty()) {
57 view_names.
insert(viewType);
69 m_Doc->SetDirty(
true);
73 if (so && !view_names.
empty()) {
76 for (
auto& it : view_names) {
92 return "Change ProjectItem\n";
CAppTaskService - Application Task Service.
CRef< objects::CProjectItem > m_NewItem
CRef< objects::CProjectItem > m_OldItem
virtual void Unexecute()
Undo (opposite to Execute())
virtual void Execute()
Do the editing action.
virtual string GetLabel()
void ProjectItemsChanged()
bool RemoveProjectItem(objects::CProjectItem *item)
void AttachProjectItem(objects::CProjectItem *item)
CProjectService - a service providing API for operations with Workspaces and Projects.
Base class for all serializable objects.
iterator_bool insert(const value_type &val)
void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)
CIRef< T > GetServiceByType()
retrieves a typed reference to a service, the name of C++ type is used as the name of the service.
void AddTask(IAppTask &task)
Add a task to the queue.
TObjectType & GetObject(void)
Get object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
@ eCurrent
Use current time. See also CCurrentTime.