d.tools: User Guide

Starting a new d.tools project

To start a new d.tools design project, you will have to create a new project folder and two separate files for the device configuration (what your device looks like) and the interaction statechart (how the device works) of your prototype. You use wizards in Eclipse to accomplish this.

Create a new project by selecting File->New->Project...

Then choose a "Simple Project" (Note: In the near future, this will change to a "Java Project" as you will be able to add Java code to your d.tools diagrams on the fly)

Enter a name for the project (this will be your folder name) and hit Finish.

Create a new device configuration file by selecting File->New->Other... (or pressing Ctrl+N).

Then expand the d.tools folder and select "d.tools Device"

In the next wizard step, indicate that the new device file should be part of the project you just created by clicking on the project folder. Here you also specify the name of the file - note that the extension has to be .dvc. Then hit "Finish" to create a new, empty device file.

After the wizard closes, your workspace in Eclipse should now show you two panes: one pane titled "Navigator" which lists all projects and the files in each project, and one titled with the filename of the device file you just created. This device editor pane should only show a gray rectangle.

Next, create a new statechart file by again selecting File->New->Other... (or pressing Ctrl+N). In the wizard window, expand the d.tools folder and select "d.tools Statechart".

In the next wizard step, indicate that the new device file should be part of the project you just created by clicking on the project folder. When you specify the name of the file, use the same filename , this time with the extension .d instead of .dvc. For example, if your d.tools device configuration file was called dtools1.dvc, then your statechart file has to be names dtools1.d. Finally, hit "Finish" to create a new, empty device file.

Your workbench should now have three panes - the "Navigator"; one Device Editor for your .dvc file; and one Statechart Editor for your .d file.

Next, you'll probably want to layout your workspace windows.

Back to d.tools User Guide Overview