Open project

From TaskDepender
Jump to: navigation, search
(Introduction)
Line 1: Line 1:
''This page describes the method used by the [[Administration]] to open a new project.''
+
''This page describes the method used by the [[Administration]] to start a new project.''
  
 
== Introduction ==
 
== Introduction ==
  
To create a new project, the [[Administration]] in first instance creates a temporary database file in memory.
+
The user of the [[Administration]] can request to start a new project. No name or location is to be specified for the project file yet. However, this method must handle situations in which there are still uncommitted changes in the current project since only
 
+
Since only one project can be edited in the program, it must first be check whether the current database still has uncommitted actions. If this is the case, the Administration returns an error which first needs to be handled by the caller, e.g. by displaying a message box with "''Save changes to the current project?''".
+
  
 
== Design ==
 
== Design ==
  
 +
To create a new project, the [[Administration]] in first instance creates a temporary database file in memory.
 +
 +
Since only one project can be edited in the program, it must first be check whether the current database still has uncommitted actions. If this is the case, the Administration returns an error which first needs to be handled by the caller, e.g. by displaying a message box with "''Save changes to the current project?''".
  
  
 
== Implementation ==
 
== Implementation ==

Revision as of 17:05, 1 October 2011

Personal tools