Creating a location or opening an existing location is the first
task to perform, since a location gives you access to the instances involved
in the design of your application. The location concept can then be related
to the database concept
To create a location, you must:
- Right-click anywhere in the 'Design explorer' view
of the 'Design' perspective. and
- Select in the popup menu.
- In the wizard which opens up, you must give a name to your location.
Since a location can be compared to a database, a good idea would be to name
the location after the database
As a result, the newly-created location is displayed in your 'Design
explorer' view. Clicking on it reveals the entity branches, with
no instance. To fill your location with instances, you must:- Create new instances directly in the 'Design explorer'
view.
- Import, into the current location, a file containing a set of instances
(via the Import choice of the contextual menu of the
Design explorer view).
- Convert instances to the Pattern Driven Programming (PDP)
model, from the Pacbase explorer view of the Pacbase
explorer perspective, into the current location (choice when you right-click on an instance in the Pacbase
explorer view).
- Or, if the 'Pacbase explorer' view of the 'Pacbase
explorer' perspective is available:.
- Click on an active connection and select in the popup menu.
- In the wizard which opens up, you select the instances to be
exported and the location they must be exported to.
As a result, the newly-created location is displayed in your 'Design
explorer' view with the selected instances.
Once a location is created, you open it in the 'Design explorer' view
of the 'Design' perspective if you right-clicki on it
and select Open in the popup menu which opens up.