
Hitachi Embedded Workshop User Manual
109
6.8
Using Custom Placeholders
Throughout the Hitachi Embedded Workshop the user can use a number of pre-defined placeholders for
directory definitions. For example the user can use the “$(PROJDIR)” variable to signify the current HEW
project directory. This makes it much easier to relocate projects and keep all of the paths correct.
The Hitachi Embedded Workshop also has the ability to define custom placeholders. This means you can enter
your own custom placeholder definition and decide upon its directory value. Once defined this placeholder
becomes available throughout the rest of the HEW system.
The placeholders can be defined on an application wide level so the placeholders are available to all workspaces
and projects that use the HEW. The other method of defining the placeholders is using the workspace wide
custom placeholders this means the placeholders can only be used in the current workspace. This list is only
available when you have a workspace open.
Figure 6.14: Customize Dialog Placeholder Tab
To add a custom placeholder:
1.
Select [Tools->Customize…]. The dialog shown in figure 6.1 will be displayed. Select the
“Placeholders” tab (figure 6.14).
2.
Choose whether you need to use an “Application wide custom placeholder” or “Workspace wide custom
placeholder”. Click “Add” on the adjacent button to the list you require.
3.
The dialog, add “New Custom Placeholder” dialog is displayed. (figure 6.15)
4.
In the fields provided choose a suitable name for the placeholder and a description of what the
placeholder means.
5.
Then choose a directory, which relates to this placeholder. It is possible to use placeholders that are
already defined in this field such as $(PROJDIR).