A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/pt__project_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/core/pt_project.cpp Source File

49 #include <wx/treectrl.h> 62  if

(doc && doc->IsLoaded()) {

63  const

objects::CProjectDescr& descr = doc->GetDescr();

85

view_item->

Initialize

(treeCtrl, view,

true

);

103

views_folder =

static_cast<CFolder

*

>

(&*it);

108

vector< CIRef<IProjectView> > views = doc->

GetViews

();

111  if

(views_folder ==

NULL

) {

119

}

else if

(views_folder) {

130

viewsFolder =

static_cast<CFolder

*

>

(&*it);

135  if

(!viewsFolder)

return

;

138  if

((*it).GetType() ==

eView

) {

139  CView

& viewItem =

static_cast<CView

&

>

(*it);

154

wxTreeItemIcon_Normal);

157

wxTreeItemIcon_Expanded);

163  if

(!doc.IsLoaded())

return

;

165

objects::CProjectFolder& folder = doc.SetData();

171  if

(doc.GetDataLoaders().size() > 0) {

176  ITERATE

(objects::CGBProjectHandle::TDataLoaders, iter, doc.GetDataLoaders()) {

188

vector< CIRef<IProjectView> > views = doc.

GetViews

();

217  bool

readOnly =

false

;

221

objects::CProjectDescr& descr = doc->SetDescr();

224  if

(descr.CanGetComment())

230  if

(dlg.ShowModal() == wxID_OK && !readOnly) {

234

objects::CDate date(time);

235

descr.SetModified_date().Assign(date);

236

doc->SetDirty (

true

);

246  if

(!doc->IsLoaded()) {

260  bool

modified =

false

;

261  if

(!event.IsEditCancelled() && doc->IsLoaded()) {

263  if

(new_name != doc->GetDescr().GetTitle()) {

264

doc->SetDescr().SetTitle(new_name);

265

doc->SetDirty (

true

);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

virtual void SetRegistryPath(const string &path)

virtual const TViews & GetViews(void) const

Retrieve the existing views for this class.

wxString GetFileName() const

void SetFilename(wxString value)

void SetModified(wxString value)

wxString GetProjectName() const

void SetDescr(wxString value)

wxString GetDescr() const

void SetCreated(wxString value)

void SetProjectName(wxString value)

class IProjectView defines the abstract interface for views observing projects.

void Initialize(wxTreeCtrl &treeCtrl)

void Initialize(wxTreeCtrl &treeCtrl)

void AppendChildItem(wxTreeCtrl &treeCtrl, CItem &ch_item)

wxTreeItemId GetTreeItemId() const

wxTreeItemId m_TreeItemId

static CPTIcons & GetInstance()

int GetImageIndex(EIcon icon) const

void Initialize(wxTreeCtrl &treeCtrl, CGBDocument &doc)

void UpdateProjectItems(wxTreeCtrl &treeCtrl, CGBDocument &doc)

void UpdateDisabledItems(wxTreeCtrl &treeCtrl)

size_t CountDisabledItems(wxTreeCtrl &treeCtrl)

void UpdateDisabledItems(wxTreeCtrl &treeCtrl)

void UpdateLabel(wxTreeCtrl &treeCtrl)

virtual bool EndLabelEdit(wxTreeCtrl &treeCtrl, wxTreeEvent &event)

void Initialize(wxTreeCtrl &treeCtrl)

void UpdateViewLabel(wxTreeCtrl &treeCtrl, IProjectView &view)

virtual bool DoProperties(wxTreeCtrl &treeCtrl)

virtual void BeginLabelEdit(wxTreeCtrl &treeCtrl, wxTreeEvent &event)

void ProjectStateChanged(wxTreeCtrl &treeCtrl)

size_t CountDisabledItems(wxTreeCtrl &treeCtrl)

void UpdateProjectItems(wxTreeCtrl &treeCtrl)

void UpdateViews(wxTreeCtrl &treeCtrl)

virtual bool CanDoProperties()

void Initialize(wxTreeCtrl &treeCtrl, IProjectView &view, bool local)

const CRef< CGBDocument > & GetData() const

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

TObjectType * GetPointerOrNull(void) THROWS_NONE

Get pointer value.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

@ eCurrent

Use current time. See also CCurrentTime.

static const char label[]

static const wxString s_DATA_FOLDER

static wxString s_GetLabel(CGBDocument *doc)

static const wxString s_VIEWS_FOLDER

static const wxString s_LOADERS_FOLDER

static void s_InitializeViews(wxTreeCtrl &treeCtrl, CFolder &folder, vector< CIRef< IProjectView > > &views)

static const char * kDlgRegPath

wxString ToWxString(const string &s)

string ToStdString(const wxString &s)


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