, m_Subtype( subtype )
84, m_ProjectId( prj_id )
91, m_Subtype( subtype )
97objects::CGBProjectHandle::TId
GetProjectId() {
returnm_ProjectId; }
110:
publicobjects::CGBProjectHandle
116 friend classCProjectLoadingJob;
119 friend classCSmartProjectTask;
131 typedefvector< CIRef<IProjectView> >
TViews;
150wxString GetFileName()
const;
151 voidSetFileName (
constwxString& filename);
153 virtual voidCreateProjectScope();
156 stringGetDefaultAssembly()
const;
161 boolIsLoading()
const;
162 voidCancelLoading();
165 boolRemoveProjectItem(objects::CProjectItem* item);
166 boolRemoveProjectItems(
constvector<objects::CProjectItem*>& items);
168 voidAttachProjectItem(objects::CProjectItem* item);
169 voidDetachProjectItem(objects::CProjectItem* item);
171 voidAttachProjectItems(
constvector<objects::CProjectItem*>& items);
172 voidDetachProjectItems(
constvector<objects::CProjectItem*>& items);
174 voidSave(
constwxString& abs_path);
176 voidUnloadProject(
boolreset_hist_async =
true);
178 virtual constTViews& GetViews(
void)
const;
180 boolRemoveDataLoader(objects::CLoaderDescriptor& loader);
181 boolAttachDataLoader(objects::CLoaderDescriptor& loader);
182 boolDetachDataLoader(objects::CLoaderDescriptor& loader);
184 voidProjectItemsChanged();
185 voidProjectStateChanged();
195wxString GetWorkDir()
const;
200TViews& x_GetViews(
void);
201 voidx_RemoveAllViews(
boolreset_hist_async);
211 voidx_SaveFile(
constwxString& fname,
ESerialDataFormatfmt,
boolkeep_backups);
214 IAppJob* CreateLoadJob(
constwxString& fileName);
219 voidAddItems(
const string& folderName,
223 voidReplaceGiSeqIds(
ICanceled* canceled);
230 voidx_AttachDataLoaders();
231 voidx_AttachProjectItems();
232 voidx_ProjectViewsChanged();
233 voidx_ProjectUpdateLabel();
235 voidx_AddItems(
const string& folderName,
239 voidx_DetachDataLoaders();
241 voidx_DetachProjectItems();
243 voidx_CloseProjectItemViews(objects::CProjectItem& item);
249 static size_tx_GetUndoSize();
268 voidx_InitializeAssembly()
const;
269 voidx_ClearAssembly()
const;
User-defined methods of the data storage class.
User-defined methods of the data storage class.
CDataLoadingAppJob - a base class for Jobs loading data into projects.
CGBDocument & operator=(const CGBDocument &value)
CIRef< IAppJob > m_LoadJob
TViewToIndex m_ViewToIndex
CGBDocument(const CGBDocument &value)
CGBDocument(CProjectService *srv, TId id, objects::CGBProject_ver2 &proj_impl)
bool x_DetachProjectItems(const vector< objects::CProjectItem * > &items)
CUndoManager & GetUndoManager()
CRef< objects::CLoaderDescriptor > TLoaderRef
CProjectService * m_Service
pointer to the service that manages the document
ELabelType
Retrieve a label for this view. The label has several different.
map< IProjectView *, int > TViewToIndex
map of views to indices for views
vector< TLoaderRef > TLoaders
vector< CIRef< IProjectView > > TViews
bool m_AssemblyInitialized
objects::CGBProjectHandle Tparent
TViews m_Views
Views attached to this project.
CRef< CUndoManager > m_UndoManager
undo manager, project data centric
string m_AssemblyAccession
list< CRef< CJobAdapter > > m_JobAdapters
CProjectService - a service providing API for operations with Workspaces and Projects.
CProjectTreePanel - a window that represents Project View.
CProjectViewBase - default implementation of IProjectView, the base class for CProjectView and CProje...
objects::CGBProjectHandle::TId GetProjectId()
CProjectViewEvent(IProjectView &view, CViewEvent::EEventType type, EEventSubtype subtype=eNone)
CIRef< IProjectView > GetProjectView()
EEventSubtype GetSubtype() const
CIRef< IProjectView > m_View
objects::CGBProjectHandle::TId m_ProjectId
CProjectViewEvent(objects::CGBProjectHandle::TId prj_id, EEventSubtype subtype=eNone)
CProjectSelectOptions - describes how new Project Items shall be added to a workspace.
Interface for testing cancellation request in a long lasting operation.
IDataLoaderProvider - an interface representing a Data Source.
class IProjectView defines the abstract interface for views observing projects.
virtual void OnJobResult(CObject *result, CJobAdapter &adapter)=0
virtual void OnJobFailed(const string &errMsg, CJobAdapter &adapter)=0
ESerialDataFormat
Data file format.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUICORE_EXPORT
static string LoadFile(CNcbiIstream &str)
const GenericPointer< typename T::ValueType > T2 value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4