Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359808 - [Model explorer] Model explorer should show mark diagrams and tables that are open
Summary: [Model explorer] Model explorer should show mark diagrams and tables that are...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M6   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 291193 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-04 05:21 EDT by Sébastien Gérard CLA
Modified: 2013-04-10 05:43 EDT (History)
1 user (show)

See Also:


Attachments
A patch to add an overlay on the opened editor (4.75 KB, patch)
2011-10-04 09:59 EDT, Vincent Lorenzo CLA
no flags Details | Diff
the overlay for opened editor (851 bytes, image/gif)
2011-10-04 10:00 EDT, Vincent Lorenzo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***