Upgrade files are stored in: data/schema/update-scripts. When an existing project is opened the two versions are compared and any upgrade files executed. File: data/schema-version.txt contains theĬurrent version of the schema. The schema version is tracked using a property stored within the project itself. The user can specify the location where the project is stored, however the project name is stillįor instance on Windows 7 using the default settings and a project name of "My New Project" the H2 db files would be stored in:Ĭ:/Users/Me/QuollWriter/projects/my new project The project name is used as a sub-directory Projects directory in the users home directory, gained via System.getProperty ("user.dir"). By default project files are written to a sub-direcory of the The project information is held in a H2 database backed by a file store. Note: eventually I'll convert the List instances to Sets. Note's can be attached to any NamedObject. Chapter then can contain Scene's and OutlineItem.Įach of these objects extends from NamedObject which in turn extends from DataObject. Each Book then contains a list of Chapter's. The project is basically a tree of objects, with lists of Books, QCharacters, QObject's, ResearchItem's and Project represents the "top-level" object used by theĪbstractProjectViewer. Src/com/quollwriter/data - directory containing the data model classes. Each AbstractProjectViewer has a reference to an ObjectManager instance that the ChapterDataHandler handles the columns and actions The various *Handler classes handle object specific actions, i.e. ObjectManager is the class that handles most of the db Src/com/quollwriter/db - directory containing the database classes. AbstractProjectViewer is the main class to be starting with. Src/com/quollwriter/ui - directory containing the UI classes. Track of which projects are open, it also handles the user and system properties. Environment is the central hub controlling and tracking the various project viewer instances. It then passes responsibility onto the static method Environment.init which then decides what should be done (either start the last project The Startup class has the main method and is called to start things up. Src/com/quollwriter - directory containing general classes. Src - directory where the java source code resides. Imgs/bgs - directory containing the background image files used in the Idea Board and full screen mode, generally these are jpgs. Imgs - directory containing the images used throughout the application. The following is a brief outline of the major directories and files in the repository.ĭata - directory containing the data files used by Quoll Writer such as properties and definitions.ĭata/prompts - directory containing the writing prompts.ĭata/schema - directory containing the schema definition files including the upgrade scripts and view definitions.
0 Comments
Leave a Reply. |