next up previous
Next: 4 The Graph Editor Up: YMLEditor Users Guide Previous: 2 Installing and Running

Subsections


3 Project Management

In order to do anything with the YMLEditor you must first either create a project or open an existing one. The following sections will show you how to do this. The project management controls can all be found under the project menu.


3.1 Creating a New Project

You can create a new project by selecting New from the Project menu. An open file dialog will appear. Navigate the file dialog in order to locate the directory where you would like to create your project. Type the name of your new project in the File Name text box and click the Open button. The project name cannot be template as this name is used by the YMLEditor.

Image new_project

This will create the following files.

  example/
  example/app
  example/app/Makefile
  example/app/example_userdefs.h
  example/arch
  example/arch/Makefile
  example/arch/example.pi
  example/arch/example.ps
  example/Makefile
  example/example.yml
  example/example_app.yml
  example/example_map.yml
  example/example_arch.yml

Technical Note
The YMLEditor creates a new project by executing the following command:

  ymleditor new <project name>

Where <project name> is the actual name provided by the user.

The ymleditor script creates a new project by untaring the file template.tar and replacing all instances of the word template in the filenames and in the files themselves.

You can change the default new project by changing the files in template.tar.


3.2 Saving, Closing, and Opening Projects

You can save a project by selecting Save from the Project menu. This will write an changes you have made to the project to disk. To close a project select Close from the Project menu.

To open an existing project select Open from the Project menu. An open file dialog will appear. Select the SESAME project YML file and click open. The project YML file is the XML file whose top level element is name simulation. In our example this file is named example.yml.


next up previous
Next: 4 The Graph Editor Up: YMLEditor Users Guide Previous: 2 Installing and Running
Joseph Coffland 2006-04-05