Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359808

Summary: [Model explorer] Model explorer should show mark diagrams and tables that are open
Product: [Modeling] Papyrus Reporter: Sébastien Gérard <sebastien.gerard>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: vincent.lorenzo
Version: 0.10.0   
Target Milestone: M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
A patch to add an overlay on the opened editor
none
the overlay for opened editor none

Description Sébastien Gérard CLA 2011-10-04 05:21:06 EDT
Model explorer should show mark diagrams that are open displaying an given overlay (on the top-right) of the diagram and table icons.
Comment 1 Vincent Lorenzo CLA 2011-10-04 09:59:08 EDT
Created attachment 204509 [details]
A patch to add an overlay on the opened editor
Comment 2 Vincent Lorenzo CLA 2011-10-04 10:00:59 EDT
Created attachment 204511 [details]
the overlay for opened editor

An example of overlay for the opened editor
Comment 3 Vincent Lorenzo CLA 2011-10-13 03:54:48 EDT
Hi, I think my previous solution is not correct, because I add the overlay programmatically. I think that we should use uiCustom and facets to add this overlay. 

FYI, it is possible, that the uiCustom allows to add overlay on element in the Juno release (currently, it is not available for Ecore/UML/... elements, but it is available for customizing facet
Comment 4 Camille Letavernier CLA 2013-03-08 11:12:14 EST
Implemented in r10451.

Small issue: The overlay is refreshed only when the ModelExplorer is refresh. Closing a page do not refresh the ModelExplorer. You have to activate the ModelExplorer view to refresh it (i.e. to update the overlay).

We should somehow force the ModelExplorer refresh when the page is closed.
Comment 5 Camille Letavernier CLA 2013-03-14 09:22:39 EDT
r10528:

Fix a small bug when selecting a Page with an overlay
Comment 6 Camille Letavernier CLA 2013-03-18 11:56:44 EDT
> Small issue: The overlay is refreshed only when the ModelExplorer is refresh. Closing a page do not refresh the ModelExplorer. You have to activate the ModelExplorer view to refresh it (i.e. to update the overlay).

Fixed in r10566
Comment 7 Camille Letavernier CLA 2013-04-10 05:43:31 EDT
*** Bug 291193 has been marked as a duplicate of this bug. ***