vsTASKER 7 User Manual
×
Menu
Index

Repository

 
Repositories are specialized storages organized by Categories.
 
User can select and drop any stored object to quickly create Logics, Knowledge, Components, etc.
There can be any numbers of repositories, organized by types of simulation. For example, you can create a repository for Defense, another one for Air Traffic Control, etc.
 
You can see a Repository as a set of predefined objects stored to accelerate the database setup.
To drag any selected single object to the current Repository, select the object on the Environment or the Diagram then use . The Object will be visible below the corresponding Type.
To drop any Object from the Repository, select the object in the list, use then paste it in the correct environment (if the object belongs to a Logic, open a Logic before pasting it.)
 
A Repository can be saved or retrieved. By default basic is used.
Some special repositories have been made by templates, to ease the scenario edition with drag and drop.
Create a new Repository using
Save the current Repository using
Load a previously saved Repository using
 
Repositories can be exchanged between users. They are saved in data/rep. The repository definition ends with .rep. The associated data is a folder. Both are requested.
 
Import & Export capability can also be used instead of Repository. It is up to the user to decide which way he likes the most. Better to avoid mixing the both to reduce complexity.
 
The Repository can be used as a convenient storage for all purpose members of vsTASKER categories. 
Normally, the repository should only contains templates or general purpose objects that can be re-used as is instead of being build from scratch.
 
The user can create as many repository as he needs. It is a good idea to have a repository per project or per domain of expertise, gathering only category members that apply to the project or domain.
 
To create a new Repository, use the button above the Tree-List. The new repository has no name. One will be requested at Save.
To open a new repository, use the button above the Tree-List. Repository are stored in Data/Rep directory. Select the [.rep] from the list.
To save a repository, use the button above the Tree-List. If the repository is a new one, you must give it a name. Please, insure that the repository is located in the Data/Rep directory. Be aware that no warning is issued if the given name exists already!
To add a new object in the Repository, select it from the Environment Tree-List then use the button, below the Repository Tree-List. This action adds a copy of the selected object. If an object of the same name exist in the Repository Category, an error message is shown.
 
When an object is selected in the repository, the Diagram shows the graphical description (if available). Note that the Diagram background turns light-green. All graphics are locked in Repository mode by default. The user must unlock each object using in order to modify the graphics.
 
Whenever an object is selected in the Repository, the button, below the Tree-List, displays its Property Window. No change can be performed on the repository. OK and APPLY buttons are grayed out.
 
To delete an object from the Repository, first select it in the Tree-List then use the button below the Tree-List.
You can hide the Repository panel from the View menu.