blob: eeb7640f406274464aed9638ea62dd48f08de623 [file] [log] [blame]
h2. Model Loading (Amalthea "no-load" nature)
Use case for having "Amalthea no-load nature" is to avoid loading of Amalthea models present inside a project in certain cases like:
* File operations in workspace _(rename of folders or rename of model files)_
* User is not working on Amalthea models
* Also in the software build environments, where Amalthea models should be explicitly loaded instead of automatically getting loaded
h3. How to add Amalthea "no-load" nature to the project?*
Nature can be added by following the steps shown in the below screenshot
!../pictures/nature/no-load-nature-add.png!
bq. By adding this nature, Amalthea model loader will be de-activated and Amalthea model editor can not be opened in this case
h3. How to identify if Amalthea "no-load" nature is added to the project?*
If Amalthea "no-load" nature is added to the project, in the Model Explorer,there is a decorator icon and a suffix is added to the project as shown below:
!../pictures/nature/no-load-nature-active.png!
h3. If Amalthea "no-load" nature is added, can I still load Amalthea model files using a java program explicitly?*
Yes !!
By adding Amalthea "no-load" nature, only automatic model loading is disabled as a part of eclipse workspace build, user can explicitly load Amalthea model by using API's
h3. How to remove Amalthea "no-load" nature from the project?*
One can explicitly remove the nature by following the steps as shown in the below screenshot
!../pictures/nature/no-load-nature-remove_1.png!
*Other option:* If the user tries to open a Amalthea model file, a dialog box opens up as shown below and from here as well user can remove the Amalthea "no-load" nature from the project
!../pictures/nature/no-load-nature-remove_2.png!