Community
Participate
Working Groups
Build Identifier: Build id: 20100527-0614 The File->Save menu item is inactive if the Papyrus model explorer is active, although the model has been modified. Save is only possible once an element in a diagram is selected. Reproducible: Always Steps to Reproduce: 1. Load & modify the model 2. select an element within model explorer => save is not possible
Cedric, I add you in cc as I'm not quite sure wether this bug relates to the editor or the model explorer ("Modisco" version)
Model Explorer need to implements the ISaveable interface. I propose to create a Papyrus Service taking in charge the implementation of this interface. This service will be used by any Eclipse Part whishing to provide save/saveAs actions and dirty state rendering. The CoreMultiDiagramEditor itself will use this service rather than implementing directly save and saveAs. This service
The ModelExplorer now use the SaveAndDirtyService as ISaveable. The save and saveAs actions are now enable in ModelExplorer.