#2845 closed defect (fixed)
OMEdit handling of packages in the GUI is inconsistent
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
In OMEdit, it is possible to visualize the entire content of a package in the text view. However, if any change is applied there, this is not reflected in the Libraries browser window, which is extremely confusing.
For instance, I can create a new package Test and type this text:
package Test model M1 end M1; model M2 end M2; end Test;
I would expect that when I click on the Libraries window, M1 and M2 show up in the tree under Test. Unfortunately, they don't, until I hit the Save button. If I then add text to a model while seeing the entire package and then click on the icon of the model, that added text is missing. All changes are recorded only if I hit Save or change the view, e.g., from textual to diagram.
The changes should also be applied immediately when the Libraries window is clicked on.
Also, if I right-click on M2 and select Unload, then I switch to the textual view of the entire package, M2 is still there. It only goes away when the package is saved. Again, any time the focus is switched from the libraries browser to the text or diagram view and vice-versa, the "other" view should be updated with the last changes, so that the two are always consistent with each other
Milestone changed to 1.9.3 since 1.9.2 was released.