VPTissue Reference Manual
AppCustomizer.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2011-2016 Universiteit Antwerpen
3  *
4  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
5  * the European Commission - subsequent versions of the EUPL (the "Licence");
6  * You may not use this work except in compliance with the Licence.
7  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the Licence is distributed on an "AS IS" basis,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the Licence for the specific language governing
13  * permissions and limitations under the Licence.
14  */
20 #include "AppCustomizer.h"
21 
24 
25 
26 namespace SimPT_Shell {
27 namespace Gui {
28 
29 using namespace std;
30 
31 using namespace SimPT_Sim::Util;
32 using namespace SimPT_Shell::Ws;
33 
34 
35 shared_ptr<IWorkspaceFactory> AppCustomizer::CreateWorkspaceFactory() const
36 {
37  return make_shared<WorkspaceFactory>();
38 }
39 
41 {
42  string s = "<h3>SimPT, version 1.0</h3>";
43  s.append("<p><b> Revision id: " + RevisionInfo::HashId() + "<br>");
44  s.append("Commit date: " + RevisionInfo::CommitDate() + "</b></p>");
45  s.append("<p>\
46  Simulator for Plant Tissue a.k.a SimPT or simPT is an Open Source framework \
47  for cell-based modeling of plant tissue growth and development. \
48  </p>\
49  <p>\
50  Copyright 2011-2016 Universiteit Antwerpen\
51  <Licensed under the EUPL, Version 1.1 or as soon they will be approved by \
52  the European Commission - subsequent versions of the EUPL (the \"Licence\"); \
53  You may not use this work except in compliance with the Licence.\
54  You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5 \
55  Unless required by applicable law or agreed to in writing, software \
56  distributed under the Licence is distributed on an \"AS IS\" basis, \
57  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \
58  See the Licence for the specific language governing \
59  permissions and limitations under the Licence. \
60  </p>");
61  return s;
62 }
63 
65 {
66  return "SimPT_Sim";
67 }
68 
70 {
71  return "SimPT Consortium";
72 }
73 
74 } // namespace
75 } // namespace
STL namespace.
Info on git revision and commit date.
Namespace for miscellaneous utilities.
Definition: PTreeFile.cpp:44
virtual std::string GetOrganizationName() const
Namespace for SimPT shell package.
Definition: Client.cpp:50
Interface for AppCustomizer.
virtual std::shared_ptr< IWorkspaceFactory > CreateWorkspaceFactory() const
virtual std::string GetApplicationName() const
virtual std::string GetAbout() const
Interface for WorkspaceFactory.
Namespace for SimPT specific workspace classes.
Definition: Client.cpp:50