Community
Participate
Working Groups
User should be able to load the missing sub-model when a figure is incomplete (figure having a decorator with a circle with X or \), by right-clicking on the figure. When the user selects this Load action, missing model(s) is(are) loaded so that the object can be fully displayed. The user should also be able to unload the corresponding sub-model when the corresponding model is not the one of the opened file. For example : - A Class is displayed with X as it is not loaded. - User right-click and loads submodel - Class is fully loaded and displayed. - User right-click and unloads this sub-model. - An association is displayed with \ as it is loaded but not one of its end-type - User right-click and loads end-type's submodel - User can not unload it by right-clicking on the association if it was in the first opened resource.
Functionality added on trunk in commit 5414, and on 0.8.X in commit 5413. Moved core util code to load/unload from modelexplorer.resourceloading to core.resourceloading plugin. Adapted code to also work with edit parts in selection and even partially loaded ones. Added in diagram.common code actions to load/unload resources from an edit part. This will be available in next releases.